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:
parent
77767f27b0
commit
905ba9847d
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -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],'') }}
|
||||
|
Loading…
Reference in New Issue
Block a user