From f272c35a1f3c246aa53ff2450c5f96c3c0422593 Mon Sep 17 00:00:00 2001 From: scito Date: Tue, 27 Dec 2022 00:52:14 +0100 Subject: [PATCH] enable docker push in ci_docker --- .github/workflows/ci_docker.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_docker.yml b/.github/workflows/ci_docker.yml index 3197cb5..af3e407 100644 --- a/.github/workflows/ci_docker.yml +++ b/.github/workflows/ci_docker.yml @@ -48,10 +48,11 @@ jobs: 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 + scito/extract_otp_secret_keys_no_qr_reader:latest + ghcr.io/scito/extract_otp_secret_keys_no_qr_reader:latest # build on feature branches, push only on master branch - # push: ${{ github.ref == 'refs/heads/master' }} + # TODO push: ${{ github.ref == 'refs/heads/master' }} + push: true - name: "qr_reader: Build image and push to Docker Hub and GitHub Container Registry" uses: docker/build-push-action@v2 @@ -63,7 +64,8 @@ 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' }} + # TODO push: ${{ github.ref == 'refs/heads/master' }} + push: true - name: Image digest run: echo ${{ steps.docker_build.outputs.digest }}