Skip to content

Commit

Permalink
Rmoving tags results in access fail to push 2
Browse files Browse the repository at this point in the history
Signed-off-by: Doru Blanzeanu <[email protected]>
  • Loading branch information
dblnz committed Nov 11, 2024
1 parent dc1e35e commit cfba80c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CreateDevcontainerImage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest

- name: Build and push Docker image
id: push
Expand All @@ -50,7 +50,7 @@ jobs:
push: true
tags: |
${{ steps.meta.outputs.tags }}
${{ env.IMAGE_NAME }}:latest
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
labels: ${{ steps.meta.outputs.labels }}
build-args: |
USER=${{ env.USER }}
Expand All @@ -60,6 +60,6 @@ jobs:
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}:latest
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

0 comments on commit cfba80c

Please sign in to comment.