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
|
- experimental
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- '**'
|
||||||
- experimental
|
|
||||||
tags:
|
tags:
|
||||||
- '*.*'
|
- '*.*'
|
||||||
|
|
||||||
@ -121,7 +120,7 @@ jobs:
|
|||||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
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') }}
|
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
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
@ -159,5 +158,5 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
bpatrik/pigallery2:nightly-${{ matrix.container }}
|
bpatrik/pigallery2:nightly-${{ matrix.container }}
|
||||||
bpatrik/pigallery2:${{ steps.vars.outputs.tag }}-${{ 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' && '' || matrix.container }}
|
bpatrik/pigallery2:latest${{ matrix.container == 'debian-buster' && '' || join(['-',matrix.container],'') }}
|
||||||
|
Loading…
Reference in New Issue
Block a user