1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00

updating build.yml

This commit is contained in:
Patrik J. Braun 2020-12-31 14:51:39 +01:00
parent 9459dbea60
commit 402bf0e134

View File

@ -119,8 +119,6 @@ jobs:
- -
name: Build and push alpine release name: Build and push alpine release
if: startsWith(steps.vars.outputs.type , 'tag') if: startsWith(steps.vars.outputs.type , 'tag')
env:
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
context: . context: .
@ -129,7 +127,7 @@ jobs:
push: true push: true
tags: | tags: |
bpatrik/pigallery2:nightly-alpine bpatrik/pigallery2:nightly-alpine
bpatrik/pigallery2:$RELEASE_VERSION-alpine bpatrik/pigallery2:${{ steps.vars.outputs.tag }}-alpine
bpatrik/pigallery2:latest-alpine bpatrik/pigallery2:latest-alpine
build-stretch: build-stretch:
runs-on: [ubuntu-latest] runs-on: [ubuntu-latest]
@ -172,8 +170,6 @@ jobs:
- -
name: Build and push debian stretch release name: Build and push debian stretch release
if: startsWith(steps.vars.outputs.type , 'tag') if: startsWith(steps.vars.outputs.type , 'tag')
env:
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
context: . context: .
@ -182,7 +178,7 @@ jobs:
push: true push: true
tags: | tags: |
bpatrik/pigallery2:nightly-stretch bpatrik/pigallery2:nightly-stretch
bpatrik/pigallery2:$RELEASE_VERSION-stretch bpatrik/pigallery2:${{ steps.vars.outputs.tag }}-stretch
bpatrik/pigallery2:latest-stretch bpatrik/pigallery2:latest-stretch
build-buster: build-buster:
runs-on: [ubuntu-latest] runs-on: [ubuntu-latest]
@ -225,8 +221,6 @@ jobs:
- -
name: Build and push debian buster release name: Build and push debian buster release
if: startsWith(steps.vars.outputs.type , 'tag') if: startsWith(steps.vars.outputs.type , 'tag')
env:
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
context: . context: .
@ -235,5 +229,5 @@ jobs:
push: true push: true
tags: | tags: |
bpatrik/pigallery2:nightly-buster bpatrik/pigallery2:nightly-buster
bpatrik/pigallery2:$RELEASE_VERSION bpatrik/pigallery2:${{ steps.vars.outputs.tag }}
bpatrik/pigallery2:latest bpatrik/pigallery2:latest