mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
updating build file
This commit is contained in:
parent
3829c23036
commit
f0fe9a3fa8
26
.github/workflows/build.yml
vendored
26
.github/workflows/build.yml
vendored
@ -138,19 +138,19 @@ jobs:
|
||||
push: true
|
||||
tags: bpatrik/pigallery2:nightly-${{ matrix.container }}
|
||||
- name: Push release on new Tag
|
||||
if: ${{ startsWith(steps.vars.outputs.type , 'tag') && !github.event.issue.pull_request }}
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
file: docker/${{ matrix.container }}/Dockerfile.build
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||
push: true
|
||||
tags: |
|
||||
bpatrik/pigallery2:nightly-${{ matrix.container }}
|
||||
bpatrik/pigallery2:${{ steps.vars.outputs.tag }}
|
||||
bpatrik/pigallery2:latest
|
||||
- name: Push release on new Tag
|
||||
if: ${{ startsWith(steps.vars.outputs.type , 'tag') && !github.event.issue.pull_request }}
|
||||
if: ${{ startsWith(steps.vars.outputs.type , 'tag') && !github.event.issue.pull_request && matrix.container !== 'debian-buster'}}
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
file: docker/${{ matrix.container }}/Dockerfile.build
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||
push: true
|
||||
tags: |
|
||||
bpatrik/pigallery2:nightly-${{ matrix.container }}
|
||||
bpatrik/pigallery2:${{ steps.vars.outputs.tag }}-${{ matrix.container }}
|
||||
bpatrik/pigallery2:latest-${{ matrix.container }}
|
||||
- name: Push latest on new Tag
|
||||
if: ${{ startsWith(steps.vars.outputs.type , 'tag') && !github.event.issue.pull_request && matrix.container === 'debian-buster'}}
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
|
Loading…
Reference in New Issue
Block a user