Skip to content

Commit

Permalink
FIX: build demo
Browse files Browse the repository at this point in the history
  • Loading branch information
rigon committed Nov 30, 2024
1 parent 76e59df commit 12e75f7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Add to version
# Run only when it is not a release build
- name: Modify version for non-releases
if: ${{ github.ref_type != 'tag' }}
run: |
echo "Adding to version: ${{ steps.meta.outputs.version }}"
Expand All @@ -63,7 +62,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
# Run only when it is a release build
if: github.ref_type == 'tag' && github.event_name == 'create' && startsWith(github.ref, 'refs/tags/v')
if: github.event_name == 'create' && startsWith(github.ref, 'refs/tags/v')

steps:
- name: Checkout
Expand Down

0 comments on commit 12e75f7

Please sign in to comment.