diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index 6530ea61a5..632a750eba 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -36,14 +36,14 @@ jobs: BUNDLE_DIR: kotsadm-bundle BUNDLE_REGISTRY: localhost:5000 GIT_TAG: ${{ needs.generate-tag.outputs.tag }} - run: make kotsadm-bundle + run: mapfile -t envs < <(grep -v '#.*' < .image.env) && export "${envs[@]}" && make kotsadm-bundle - name: Build kotsadm bundle without minio env: BUNDLE_DIR: kotsadm-bundle-nominio BUNDLE_REGISTRY: localhost:5001 GIT_TAG: ${{ needs.generate-tag.outputs.tag }} - run: make kotsadm-bundle-nominio + run: mapfile -t envs < <(grep -v '#.*' < .image.env) && export "${envs[@]}" && make kotsadm-bundle-nominio - name: ls dirs run: |