Skip to content

Commit e00d30a

Browse files
authored
Update test.yml
1 parent 3782903 commit e00d30a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ jobs:
3939
with:
4040
context: .
4141
load: true
42-
tags: "tfenv-terraform:${{ github.head_ref }}"
42+
tags: "tfenv-terraform:${{ github.sha }}"
4343
- name: 'Check Dockerfile'
4444
if: contains(matrix.os, 'ubuntu')
4545
run: |
4646
expect=1.2.3;
47-
got="$(docker run -e "TFENV_TERRAFORM_VERSION=${expect}" "tfenv-terraform:${{ github.head_ref }}" version)";
47+
got="$(docker run -e "TFENV_TERRAFORM_VERSION=${expect}" "tfenv-terraform:${{ github.sha }}" version)";
4848
echo "${got}" | tee /dev/stderr | grep -e 'Terraform v1.2.3'
4949
5050
# When we push to master, test everything in order to guarantee releases

0 commit comments

Comments
 (0)