Skip to content

hotfix: wait in a loop until other contributors finish (#78) #9

hotfix: wait in a loop until other contributors finish (#78)

hotfix: wait in a loop until other contributors finish (#78) #9

Workflow file for this run

name: Docker Release
on:
push:
tags:
- v*
jobs:
docker_release:
name: Publish images
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push ceremony creator image to Docker Hub
uses: docker/build-push-action@v3
with:
context: .
# platforms: linux/amd64,linux/arm64
push: true # true to upload image to registry
tags: vocdoni/zk-voceremony-create:latest
target: zk-voceremony-create
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build and Push base image to Docker Hub
uses: docker/build-push-action@v3
with:
context: .
# platforms: linux/amd64,linux/arm64
push: true # true to upload image to registry
tags: vocdoni/zk-voceremony:latest
target: zk-voceremony
cache-from: type=gha
cache-to: type=gha,mode=max