Skip to content

Commit

Permalink
test push to registry
Browse files Browse the repository at this point in the history
  • Loading branch information
SSchulze1989 committed Feb 3, 2025
1 parent ad01d4f commit c42d6c9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/dotnet_tag_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ jobs:
push-to-dockerhub:
name: Push image to dockerhub
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
attestations: write
id-token: write

steps:
- name: Check out the repo
Expand All @@ -69,7 +74,7 @@ jobs:
with:
context: .
file: ./Dockerfile
push: false
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

Expand All @@ -78,4 +83,4 @@ jobs:
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: false
push-to-registry: true

0 comments on commit c42d6c9

Please sign in to comment.