From 299b4479f58faa5b68d1915725a88997d37a5fcf Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Wed, 11 Dec 2024 14:44:20 +0100 Subject: [PATCH] fix(ci): build args not passed to docker build --- .github/workflows/release.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5631b9e1..4792d783 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -93,9 +93,16 @@ jobs: - name: Build and Push Docker Image uses: docker/build-push-action@v6 + with: context: ./frontend/ push: true tags: ${{ steps.meta.outputs.tags }} labels: | ${{ steps.meta.outputs.labels }} + build-args: | + AUTH_ROLE_ADMIN=${{ secrets.AUTH_ROLE_ADMIN }} + AUTH_ROLE_EMPLOYEE=${{ secrets.AUTH_ROLE_EMPLOYEE }} + AUTH_ROLE_CUSTOMER=${{ secrets.AUTH_ROLE_CUSTOMER }} + TIMED_STAGING_HOST=${{ secrets.TIMED_STAGING_HOST }} + TIMED_PROD_HOST=${{ secrets.TIMED_PROD_HOST }}