From 12bb1554f645173c5e462b419b826f25ab363386 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 26 Oct 2023 16:51:52 +0200 Subject: [PATCH] ci: fix release pipeline Signed-off-by: Jens Langhammer --- .github/workflows/release-publish.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 297d266d5..e1a024786 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -27,8 +27,10 @@ jobs: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - - name: make empty ts client - run: mkdir -p ./gen-ts-client + - name: make empty clients + run: | + mkdir -p ./gen-ts-api + mkdir -p ./gen-go-api - name: Build Docker Image uses: docker/build-push-action@v5 with: @@ -69,6 +71,10 @@ jobs: - name: prepare variables uses: ./.github/actions/docker-push-variables id: ev + - name: make empty clients + run: | + mkdir -p ./gen-ts-api + mkdir -p ./gen-go-api - name: Docker Login Registry uses: docker/login-action@v3 with: @@ -93,6 +99,7 @@ jobs: ghcr.io/goauthentik/${{ matrix.type }}:latest file: ${{ matrix.type }}.Dockerfile platforms: linux/amd64,linux/arm64 + context: . build-args: | VERSION=${{ steps.ev.outputs.version }} VERSION_FAMILY=${{ steps.ev.outputs.versionFamily }}