refactor: drop dev
from cache tag
`dev` is longer necessary because the branch name was added. PR: #53
This commit is contained in:
parent
768a24ad9d
commit
2eb634739f
4
.github/workflows/containers.yml
vendored
4
.github/workflows/containers.yml
vendored
@ -128,8 +128,8 @@ jobs:
|
||||
org.opencontainers.image.revision=${{ github.sha }}
|
||||
tags: |
|
||||
docker.io/${{ env.docker-hub-namespace }}/${{ steps.repository.outputs.name }}:${{ needs.tags.outputs.candidate }}
|
||||
cache-from: type=registry,ref=docker.io/${{ env.docker-hub-namespace }}/${{ env.cache-repository-name }}:${{ needs.tags.outputs.branch }}-dev
|
||||
cache-to: ${{ (steps.docker-hub-login.outcome == 'success') && (matrix.target == 'dev') && format('type=registry,ref=docker.io/{0}/{1}:{2}-{3},mode=max', env.docker-hub-namespace, env.cache-repository-name, needs.tags.outputs.branch, 'dev') || null }}
|
||||
cache-from: type=registry,ref=docker.io/${{ env.docker-hub-namespace }}/${{ env.cache-repository-name }}:${{ needs.tags.outputs.branch }}
|
||||
cache-to: ${{ (steps.docker-hub-login.outcome == 'success') && (matrix.target == 'dev') && format('type=registry,ref=docker.io/{0}/{1}:{2},mode=max', env.docker-hub-namespace, env.cache-repository-name, needs.tags.outputs.branch) || null }}
|
||||
load: true
|
||||
- name: Create and run container from candidate image
|
||||
shell: bash
|
||||
|
Loading…
Reference in New Issue
Block a user