From 3ca8d9c9685350bd3b4a6435decd311e041704a9 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 15 Jun 2021 17:34:23 +0200 Subject: [PATCH] ci: build and push stable tag when rc not in release name closes #1023 Signed-off-by: Jens Langhammer --- .github/workflows/release.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 117a59717..090bdd19e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,6 +39,15 @@ jobs: ghcr.io/goauthentik/server:latest platforms: linux/amd64,linux/arm64 context: . + - name: Building Docker Image (stable) + uses: docker/build-push-action@v2 + with: + push: ${{ github.event_name == 'release' && !contains('2021.6.1-rc5', 'rc') }} + tags: | + beryju/authentik:stable, + ghcr.io/goauthentik/server:stable + platforms: linux/amd64,linux/arm64 + context: . build-proxy: runs-on: ubuntu-latest steps: @@ -72,6 +81,15 @@ jobs: ghcr.io/goauthentik/proxy:latest file: outpost/proxy.Dockerfile platforms: linux/amd64,linux/arm64 + - name: Building Docker Image (stable) + uses: docker/build-push-action@v2 + with: + push: ${{ github.event_name == 'release' && !contains('2021.6.1-rc5', 'rc') }} + tags: | + beryju/authentik-proxy:stable, + ghcr.io/goauthentik/proxy:stable + platforms: linux/amd64,linux/arm64 + context: . build-ldap: runs-on: ubuntu-latest steps: @@ -105,6 +123,15 @@ jobs: ghcr.io/goauthentik/ldap:latest file: outpost/ldap.Dockerfile platforms: linux/amd64,linux/arm64 + - name: Building Docker Image (stable) + uses: docker/build-push-action@v2 + with: + push: ${{ github.event_name == 'release' && !contains('2021.6.1-rc5', 'rc') }} + tags: | + beryju/authentik-ldap:stable, + ghcr.io/goauthentik/ldap:stable + platforms: linux/amd64,linux/arm64 + context: . test-release: if: ${{ github.event_name == 'release' }} needs: