Skip to content

Commit aa3b280

Browse files
authored
Merge pull request #38 from gonzalezzfelipe/fix/syntax-on-image-tag
fix: Add sha- prefix on image tag
2 parents 0ed238d + 108ecd0 commit aa3b280

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,24 +54,24 @@ jobs:
5454
working-directory: playbook/doom-dev
5555
run: terraform init
5656
env:
57-
TF_VAR_image: ghcr.io/cardano-scaling/hydra-control-plane:${{ steps.image_tag.outputs.sha_short }}
57+
TF_VAR_image: ghcr.io/cardano-scaling/hydra-control-plane:sha-${{ steps.image_tag.outputs.sha_short }}
5858

5959
- name: validate terraform
6060
working-directory: playbook/doom-dev
6161
run: terraform validate
6262
env:
63-
TF_VAR_image: ghcr.io/cardano-scaling/hydra-control-plane:${{ steps.image_tag.outputs.sha_short }}
63+
TF_VAR_image: ghcr.io/cardano-scaling/hydra-control-plane:sha-${{ steps.image_tag.outputs.sha_short }}
6464

6565
- name: plan terraform
6666
working-directory: playbook/doom-dev
6767
if: inputs.dry-run == 'true'
6868
run: terraform plan -input=false
6969
env:
70-
TF_VAR_image: ghcr.io/cardano-scaling/hydra-control-plane:${{ steps.image_tag.outputs.sha_short }}
70+
TF_VAR_image: ghcr.io/cardano-scaling/hydra-control-plane:sha-${{ steps.image_tag.outputs.sha_short }}
7171

7272
- name: apply terraform
7373
working-directory: playbook/doom-dev
7474
if: inputs.dry-run == 'false'
7575
run: terraform apply -auto-approve -input=false
7676
env:
77-
TF_VAR_image: ghcr.io/cardano-scaling/hydra-control-plane:${{ steps.image_tag.outputs.sha_short }}
77+
TF_VAR_image: ghcr.io/cardano-scaling/hydra-control-plane:sha-${{ steps.image_tag.outputs.sha_short }}

0 commit comments

Comments
 (0)