Skip to content

Commit

Permalink
chore: fix leading v in docker image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt committed Jun 28, 2024
1 parent 06b0cf4 commit cbe799b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,13 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up ref without leading 'v'
run: echo "STRIPPED_REF_NAME=${GITHUB_REF_NAME#v}" >> $GITHUB_ENV
- name: Build
uses: docker/build-push-action@v6
with:
context: .
file: .github/Dockerfile
push: true
tags: aoepeople/vistecture:${{ github.ref_name }}
platforms: linux/amd64,linux/arm64
tags: aoepeople/vistecture:${{ env.STRIPPED_REF_NAME }}
platforms: linux/amd64,linux/arm64

0 comments on commit cbe799b

Please sign in to comment.