Skip to content

Commit

Permalink
added label to docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Bullrich committed Sep 29, 2023
1 parent 1af5481 commit 3caddfc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build image
run: docker build . --file Dockerfile --tag $IMAGE_NAME
run: docker build . --file Dockerfile --label "version=$TAG" --tag $IMAGE_NAME
env:
TAG: v${{ needs.test-versions.outputs.version }}
- name: Log into registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
- name: Push image
Expand Down

0 comments on commit 3caddfc

Please sign in to comment.