github actions docker build no_qr_reader
This commit is contained in:
17
.github/workflows/ci_docker.yml
vendored
17
.github/workflows/ci_docker.yml
vendored
@@ -40,7 +40,20 @@ jobs:
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GHCR_IO_TOKEN }}
|
||||
|
||||
- name: Build image and push to Docker Hub and GitHub Container Registry
|
||||
- name: "no_qr_reader: Build image and push to Docker Hub and GitHub Container Registry"
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
# relative path to the place where source code with Dockerfile is located
|
||||
context: .
|
||||
file: Dockerfile_no_qr_reader
|
||||
# Note: tags has to be all lower-case
|
||||
tags: |
|
||||
scito/extract_otp_secret_keys:latest
|
||||
ghcr.io/scito/extract_otp_secret_keys:latest
|
||||
# build on feature branches, push only on master branch
|
||||
# push: ${{ github.ref == 'refs/heads/master' }}
|
||||
|
||||
- name: "qr_reader: Build image and push to Docker Hub and GitHub Container Registry"
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
# relative path to the place where source code with Dockerfile is located
|
||||
@@ -50,7 +63,7 @@ jobs:
|
||||
scito/extract_otp_secret_keys:latest
|
||||
ghcr.io/scito/extract_otp_secret_keys:latest
|
||||
# build on feature branches, push only on master branch
|
||||
push: ${{ github.ref == 'refs/heads/master' }}
|
||||
# push: ${{ github.ref == 'refs/heads/master' }}
|
||||
|
||||
- name: Image digest
|
||||
run: echo ${{ steps.docker_build.outputs.digest }}
|
||||
|
||||
Reference in New Issue
Block a user