Skip to content

Commit

Permalink
fix versioned release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Feb 1, 2025
1 parent 66a35b9 commit 79af924
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-v2-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Get project versions
id: version
run: |
echo "server_version=$(cat package.json | jq ".version" | tr -d '"\r\n')" >> $GITHUB_OUTPUT
echo "client_version=$(cat faucet-client/package.json | jq ".version" | tr -d '"\r\n')" >> $GITHUB_OUTPUT
Expand All @@ -27,6 +28,6 @@ jobs:
docker buildx build \
--platform linux/amd64,linux/arm64 \
--file Dockerfile \
--tag pk910/powfaucet:v${{ env.server_version }} \
--tag pk910/powfaucet:v${{ steps.version.outputs.server_version }} \
--tag pk910/powfaucet:v2-stable \
--push .

0 comments on commit 79af924

Please sign in to comment.