docker: add an image to build custom circom for modular Picus

This commit is contained in:
Sorawee Porncharoenwase
2023-12-26 14:06:48 -08:00
committed by sorawee
parent 091d078841
commit 1027ba095c
3 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
name: Docker Base Modular Image Push
on: workflow_dispatch
jobs:
build-base-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: 'true'
token: ${{ secrets.RELEASE_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.SAAS_DOCKERHUB_USERNAME }}
password: ${{ secrets.SAAS_DOCKERHUB_TOKEN }}
- name: Build and push to DockerHub
uses: docker/build-push-action@v3
with:
context: .
push: true
file: resources/Dockerfile@base-modular
platforms: linux/amd64
tags: veridise/picus:base-modular