Skip to content

Commit

Permalink
updating build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bpatrik committed Dec 31, 2020
1 parent 9459dbe commit 402bf0e
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ jobs:
-
name: Build and push alpine release
if: startsWith(steps.vars.outputs.type , 'tag')
env:
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
uses: docker/build-push-action@v2
with:
context: .
Expand All @@ -129,7 +127,7 @@ jobs:
push: true
tags: |
bpatrik/pigallery2:nightly-alpine
bpatrik/pigallery2:$RELEASE_VERSION-alpine
bpatrik/pigallery2:${{ steps.vars.outputs.tag }}-alpine
bpatrik/pigallery2:latest-alpine
build-stretch:
runs-on: [ubuntu-latest]
Expand Down Expand Up @@ -172,8 +170,6 @@ jobs:
-
name: Build and push debian stretch release
if: startsWith(steps.vars.outputs.type , 'tag')
env:
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
uses: docker/build-push-action@v2
with:
context: .
Expand All @@ -182,7 +178,7 @@ jobs:
push: true
tags: |
bpatrik/pigallery2:nightly-stretch
bpatrik/pigallery2:$RELEASE_VERSION-stretch
bpatrik/pigallery2:${{ steps.vars.outputs.tag }}-stretch
bpatrik/pigallery2:latest-stretch
build-buster:
runs-on: [ubuntu-latest]
Expand Down Expand Up @@ -225,8 +221,6 @@ jobs:
-
name: Build and push debian buster release
if: startsWith(steps.vars.outputs.type , 'tag')
env:
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
uses: docker/build-push-action@v2
with:
context: .
Expand All @@ -235,5 +229,5 @@ jobs:
push: true
tags: |
bpatrik/pigallery2:nightly-buster
bpatrik/pigallery2:$RELEASE_VERSION
bpatrik/pigallery2:${{ steps.vars.outputs.tag }}
bpatrik/pigallery2:latest

0 comments on commit 402bf0e

Please sign in to comment.