Skip to content

Commit

Permalink
Fix invalid reference format in PR workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
OJFord committed Jul 15, 2022
1 parent f62973e commit 5e1a3f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ jobs:
with:
context: .
load: true
tags: "tfenv-terraform:${GITHUB_SHA}"
tags: "tfenv-terraform:${{ github.head_ref }}"
- name: 'Check Dockerfile'
if: contains(matrix.os, 'ubuntu')
run: |
expect=1.2.3;
got="$(docker run -e "TFENV_TERRAFORM_VERSION=${expect}" "tfenv-terraform:${GITHUB_SHA}" version)";
got="$(docker run -e "TFENV_TERRAFORM_VERSION=${expect}" "tfenv-terraform:${{ github.head_ref }}" version)";
echo "${got}" | tee /dev/stderr | grep -e 'Terraform v1.2.3'
# When we push to master, test everything in order to guarantee releases
Expand Down

0 comments on commit 5e1a3f5

Please sign in to comment.