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

Update build.yml

updating build file
This commit is contained in:
Patrik J. Braun 2022-02-07 16:38:37 +01:00 committed by GitHub
parent 77767f27b0
commit 905ba9847d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,8 +6,7 @@ on:
- experimental
push:
branches:
- master
- experimental
- '**'
tags:
- '*.*'
@ -121,7 +120,7 @@ jobs:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
-
name: Test build on Pull request
name: Test build on Pull request and test branches
if: ${{ startsWith(steps.vars.outputs.type , 'head') && ((github.event.issue.pull_request && github.ref == 'refs/heads/master') || github.ref != 'refs/heads/master') }}
uses: docker/build-push-action@v2
with:
@ -159,5 +158,5 @@ jobs:
push: true
tags: |
bpatrik/pigallery2:nightly-${{ matrix.container }}
bpatrik/pigallery2:${{ steps.vars.outputs.tag }}-${{ matrix.container == 'debian-buster' && '' || matrix.container }}
bpatrik/pigallery2:latest-${{ matrix.container == 'debian-buster' && '' || matrix.container }}
bpatrik/pigallery2:${{ steps.vars.outputs.tag }}-${{ matrix.container == 'debian-buster' && '' || join(['-',matrix.container],'') }}
bpatrik/pigallery2:latest${{ matrix.container == 'debian-buster' && '' || join(['-',matrix.container],'') }}