ci: only build stable images when non-rc version
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
e8978adc1b
commit
973f14d911
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
|
@ -41,8 +41,9 @@ jobs:
|
|||
context: .
|
||||
- name: Building Docker Image (stable)
|
||||
uses: docker/build-push-action@v2
|
||||
if: ${{ github.event_name == 'release' && !contains('2021.6.1-rc5', 'rc') }}
|
||||
with:
|
||||
push: ${{ github.event_name == 'release' && !contains('2021.6.1-rc5', 'rc') }}
|
||||
push: true
|
||||
tags: |
|
||||
beryju/authentik:stable,
|
||||
ghcr.io/goauthentik/server:stable
|
||||
|
@ -83,8 +84,9 @@ jobs:
|
|||
platforms: linux/amd64,linux/arm64
|
||||
- name: Building Docker Image (stable)
|
||||
uses: docker/build-push-action@v2
|
||||
if: ${{ github.event_name == 'release' && !contains('2021.6.1-rc5', 'rc') }}
|
||||
with:
|
||||
push: ${{ github.event_name == 'release' && !contains('2021.6.1-rc5', 'rc') }}
|
||||
push: true
|
||||
tags: |
|
||||
beryju/authentik-proxy:stable,
|
||||
ghcr.io/goauthentik/proxy:stable
|
||||
|
@ -125,8 +127,9 @@ jobs:
|
|||
platforms: linux/amd64,linux/arm64
|
||||
- name: Building Docker Image (stable)
|
||||
uses: docker/build-push-action@v2
|
||||
if: ${{ github.event_name == 'release' && !contains('2021.6.1-rc5', 'rc') }}
|
||||
with:
|
||||
push: ${{ github.event_name == 'release' && !contains('2021.6.1-rc5', 'rc') }}
|
||||
push: true
|
||||
tags: |
|
||||
beryju/authentik-ldap:stable,
|
||||
ghcr.io/goauthentik/ldap:stable
|
||||
|
|
Reference in a new issue