Skip to content

Commit

Permalink
removes 'v' from docker version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
frabarz committed Oct 24, 2024
1 parent 6ab30fb commit 86baa30
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:

- name: Extract tag version
id: vars
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV

- name: Build Docker image
run: |
docker build -t ghcr.io/Datawheel/fruity-clickhouse:${{ env.VERSION }} .
docker tag ghcr.io/Datawheel/fruity-clickhouse:${{ env.VERSION }} ghcr.io/Datawheel/fruity-clickhouse:latest
docker build -t ghcr.io/datawheel/fruity-clickhouse:${{ env.VERSION }} .
docker tag ghcr.io/datawheel/fruity-clickhouse:${{ env.VERSION }} ghcr.io/datawheel/fruity-clickhouse:latest
- name: Push Docker image
run: |
docker push ghcr.io/Datawheel/fruity-clickhouse:${{ env.VERSION }}
docker push ghcr.io/Datawheel/fruity-clickhouse:latest
docker push ghcr.io/datawheel/fruity-clickhouse:${{ env.VERSION }}
docker push ghcr.io/datawheel/fruity-clickhouse:latest

0 comments on commit 86baa30

Please sign in to comment.