Skip to content

include a gif demo in the readme and modify the release docker image … #4

include a gif demo in the readme and modify the release docker image …

include a gif demo in the readme and modify the release docker image … #4

name: Docker Release
on:
push:
branches:
- main
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