From c58e4537ee7f0f3e0cf7151d08221e2686d77eec Mon Sep 17 00:00:00 2001 From: Gjermund Garaba Date: Wed, 28 Aug 2024 13:55:09 +0200 Subject: [PATCH] Fix env variable usage in e2e workflow (#58) --- .github/workflows/e2e.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index b1ccb7c..61cf5e4 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -42,7 +42,7 @@ jobs: # TODO: Any nicer way to do this? :P - name: Set Tags run: | - echo "COMMIT_TAG=${{ matrix.docker-images.name }}:${{ SHORT_SHA }}" >> $GITHUB_ENV + echo "COMMIT_TAG=${{ matrix.docker-images.name }}:${{ env.SHORT_SHA }}" >> $GITHUB_ENV if [ "${{ github.ref }}" = "refs/heads/main" ]; then echo "LATEST_TAG=${{ matrix.docker-images.name }}:latest" >> $GITHUB_ENV else @@ -56,8 +56,8 @@ jobs: context: . # Even though the docker images are in the testing directory, they need the root context file: ${{ matrix.docker-images.path }} tags: | - ${{ COMMIT_TAG }} - ${{ LATEST_TAG }} + ${{ env.COMMIT_TAG }} + ${{ env.LATEST_TAG }} e2e: name: "E2E test"