From 325288c132f051740873fabc2e3a97726fdfdf56 Mon Sep 17 00:00:00 2001 From: avdata99 Date: Mon, 21 Oct 2024 20:35:17 -0300 Subject: [PATCH] Fix gh action build test --- .github/workflows/test-build.yml | 5 ++++- docker/ckan/files/env/gh-action.env | 0 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 docker/ckan/files/env/gh-action.env diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index b7fb280..7024360 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -13,7 +13,9 @@ jobs: - name: Read CKAN_UNI_VERSION from docker/ckan/files/env/base.env id: read_version run: | - echo "CKAN_UNI_VERSION=$(grep CKAN_UNI_VERSION docker/ckan/files/env/base.env | cut -d '=' -f2)" >> $GITHUB_ENV + UNI_VERSION=$(grep CKAN_UNI_VERSION docker/ckan/files/env/base.env | cut -d '=' -f2) + echo "CKAN_UNI_VERSION found $UNI_VERSION" + echo "CKAN_UNI_VERSION=$UNI_VERSION" >> $GITHUB_ENV - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 @@ -26,3 +28,4 @@ jobs: push: false env: CKAN_UNI_VERSION: ${{ env.CKAN_UNI_VERSION }} + ENV_NAME: "gh-action" diff --git a/docker/ckan/files/env/gh-action.env b/docker/ckan/files/env/gh-action.env new file mode 100644 index 0000000..e69de29