Skip to content

Commit

Permalink
Fix env variable usage in e2e workflow (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
gjermundgaraba authored Aug 28, 2024
1 parent a470b6e commit c58e453
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit c58e453

Please sign in to comment.