Skip to content

Commit

Permalink
Publish docker image for tags as well
Browse files Browse the repository at this point in the history
  • Loading branch information
floscher committed Apr 4, 2023
1 parent bbe0787 commit 1cb479d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ jobs:
- run: npm run test

publish:
if: contains('
if: (contains('
refs/heads/main
refs/heads/develop
', github.ref) && github.repository == 'fumiX/fuBlog'
', github.ref) || startsWith(github.ref, 'refs/tags/v')) && github.repository == 'fumiX/fuBlog'
needs: [test, lint]
runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -144,10 +144,10 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}

publish-db-image:
if: contains('
if: (contains('
refs/heads/main
refs/heads/develop
', github.ref) && github.repository == 'fumiX/fuBlog'
', github.ref) || startsWith(github.ref, 'refs/tags/v')) && github.repository == 'fumiX/fuBlog'
needs: [test, lint]
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit 1cb479d

Please sign in to comment.