From ae5958719789782e1f975c3fd2d7a57a75a79abf Mon Sep 17 00:00:00 2001 From: innovaker <66737976+innovaker@users.noreply.github.com> Date: Fri, 14 May 2021 19:12:34 +0100 Subject: [PATCH] refactor: remove image digest step The digest is already available within the `build-push` step. PR: #33 --- .github/workflows/containers.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index bfff704..2d7f289 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -96,9 +96,6 @@ jobs: cache-from: type=registry,ref=docker.io/${{ steps.vars.outputs.docker-hub-namespace }}/${{ env.cache-repository-name }}:dev cache-to: ${{ (steps.docker-hub-login.outcome == 'success') && (matrix.target == 'dev') && format('type=registry,ref=docker.io/{0}/{1}:{2},mode=max', steps.vars.outputs.docker-hub-namespace, env.cache-repository-name, 'dev') || null }} push: ${{ steps.docker-hub-login.outcome == 'success' }} - - name: Image digest - if: ${{ !startsWith(github.ref, 'refs/tags') }} - run: echo ${{ steps.build-push.outputs.digest }} - name: Release (pull candidate, tag, push) if: ${{ github.ref == steps.vars.outputs.tag-trigger-ref }} run: |