Skip to content

Commit

Permalink
chore: improve Docker tags in release workflow by using variable (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiashermsen authored Jan 26, 2024
1 parent 25146e6 commit 18aa505
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 @@ -75,7 +75,9 @@ jobs:
- name: Build and push docker image
if: ${{ steps.get_next_version.outputs.hasNextVersion == 'true' }}
uses: docker/build-push-action@v5
env:
DOCKER_REPOSITORY: ghcr.io/thenativeweb/get-next-version
with:
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/thenativeweb/get-next-version:latest,ghcr.io/thenativeweb/get-next-version:${{steps.get_next_version.outputs.version}}
tags: ${{ env.DOCKER_REPOSITORY }}:latest,${{ env.DOCKER_REPOSITORY }}:${{steps.get_next_version.outputs.version}}

0 comments on commit 18aa505

Please sign in to comment.