ci: fix push as stable

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-06-22 23:33:36 +02:00
parent 2a670afd02
commit 229715acb2
1 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ jobs:
context: . context: .
- name: Building Docker Image (stable) - name: Building Docker Image (stable)
if: ${{ github.event_name == 'release' && !contains('2021.6.1', 'rc') }} if: ${{ github.event_name == 'release' && !contains('2021.6.1', 'rc') }}
run: run: |
docker pull beryju/authentik:latest docker pull beryju/authentik:latest
docker tag beryju/authentik:latest beryju/authentik:stable docker tag beryju/authentik:latest beryju/authentik:stable
docker push beryju/authentik:stable docker push beryju/authentik:stable
@ -83,7 +83,7 @@ jobs:
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
- name: Building Docker Image (stable) - name: Building Docker Image (stable)
if: ${{ github.event_name == 'release' && !contains('2021.6.1', 'rc') }} if: ${{ github.event_name == 'release' && !contains('2021.6.1', 'rc') }}
run: run: |
docker pull beryju/authentik-proxy:latest docker pull beryju/authentik-proxy:latest
docker tag beryju/authentik-proxy:latest beryju/authentik-proxy:stable docker tag beryju/authentik-proxy:latest beryju/authentik-proxy:stable
docker push beryju/authentik-proxy:stable docker push beryju/authentik-proxy:stable
@ -125,7 +125,7 @@ jobs:
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
- name: Building Docker Image (stable) - name: Building Docker Image (stable)
if: ${{ github.event_name == 'release' && !contains('2021.6.1', 'rc') }} if: ${{ github.event_name == 'release' && !contains('2021.6.1', 'rc') }}
run: run: |
docker pull beryju/authentik-ldap:latest docker pull beryju/authentik-ldap:latest
docker tag beryju/authentik-ldap:latest beryju/authentik-ldap:stable docker tag beryju/authentik-ldap:latest beryju/authentik-ldap:stable
docker push beryju/authentik-ldap:stable docker push beryju/authentik-ldap:stable