Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Zordrak authored Dec 19, 2023
1 parent 3782903 commit e00d30a
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.head_ref }}"
tags: "tfenv-terraform:${{ github.sha }}"
- name: 'Check Dockerfile'
if: contains(matrix.os, 'ubuntu')
run: |
expect=1.2.3;
got="$(docker run -e "TFENV_TERRAFORM_VERSION=${expect}" "tfenv-terraform:${{ github.head_ref }}" version)";
got="$(docker run -e "TFENV_TERRAFORM_VERSION=${expect}" "tfenv-terraform:${{ github.sha }}" 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 e00d30a

Please sign in to comment.