refactor: remove image digest step
The digest is already available within the `build-push` step. PR: #33
This commit is contained in:
parent
bb5f036706
commit
ae59587197
3
.github/workflows/containers.yml
vendored
3
.github/workflows/containers.yml
vendored
@ -96,9 +96,6 @@ jobs:
|
|||||||
cache-from: type=registry,ref=docker.io/${{ steps.vars.outputs.docker-hub-namespace }}/${{ env.cache-repository-name }}:dev
|
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 }}
|
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' }}
|
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)
|
- name: Release (pull candidate, tag, push)
|
||||||
if: ${{ github.ref == steps.vars.outputs.tag-trigger-ref }}
|
if: ${{ github.ref == steps.vars.outputs.tag-trigger-ref }}
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user