Skip to content

Commit

Permalink
ci: fix release version from tag
Browse files Browse the repository at this point in the history
  • Loading branch information
danellecline committed Jun 26, 2024
1 parent 6cf6453 commit 5d083df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: docker push version
if: steps.semantic.outputs.new-release-published == 'true'
if: steps.semantic.outputs.released == 'true'
run: |
export RELEASE_VERSION=$(echo ${{ steps.semantic.outputs.tag }} | cut -c 2-)
docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }}
docker buildx create --name mybuilder --platform linux/amd64,linux/arm64 --use
cd docker && \
Expand Down

0 comments on commit 5d083df

Please sign in to comment.