From adf1b0b3b9c014476740761023a23157e7526d79 Mon Sep 17 00:00:00 2001 From: Jan Stabenow Date: Fri, 26 Jan 2024 17:27:11 +0100 Subject: [PATCH] Fix build env --- .github/workflows/build_restreamer-ui.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_restreamer-ui.yaml b/.github/workflows/build_restreamer-ui.yaml index ff284f2..be3b6c9 100644 --- a/.github/workflows/build_restreamer-ui.yaml +++ b/.github/workflows/build_restreamer-ui.yaml @@ -29,10 +29,13 @@ jobs: build-docker: needs: build-frontend runs-on: [self-hosted] - steps: - name: Checkout uses: actions/checkout@v2 + + - name: Load ENV from file + run: | + cat .github_build/Build.restreamer-ui.env >> $GITHUB_ENV - name: Download React build artifact uses: actions/download-artifact@v2 @@ -44,14 +47,13 @@ jobs: id: get-latest-tag with: semver_only: true - envFile: '.github_build/Build.restreamer-ui.env' - export: 'true' - expandWithJobEnv: 'true' - expand: 'true' - name: Docker meta id: meta uses: docker/metadata-action@v4 + env: + RELEASE: ${{ env.RELEASE }} + CADDY_IMAGE: ${{ env.CADDY_IMAGE }} with: images: | datarhei/restreamer-ui