1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

Update build.yml

Fixing building release on tag
This commit is contained in:
Patrik J. Braun 2021-05-28 21:07:07 +02:00 committed by GitHub
parent e63a7cae98
commit 2e15defa0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,7 +150,7 @@ jobs:
tags: bpatrik/pigallery2:nightly-${{ matrix.container }} tags: bpatrik/pigallery2:nightly-${{ matrix.container }}
- -
name: Build and push release on new Tag name: Build and push release on new Tag
if: ${{ startsWith(steps.vars.outputs.type , 'tag') && !github.event.issue.pull_request && github.ref == 'refs/heads/master' }} if: ${{ startsWith(steps.vars.outputs.type , 'tag') && !github.event.issue.pull_request }}
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
context: . context: .