Commit 2e1b2b6 1 parent 9261ded commit 2e1b2b6 Copy full SHA for 2e1b2b6
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 51
51
file : ./postman/Dockerfile
52
52
push : true
53
53
tags : |
54
- ${{ steps.login-ecr.outputs.registry }}/dsva/vets-api-postman:${{ github.sha }}
54
+ ${{ steps.login-ecr.outputs.registry }}/dsva/vets-api-postman:${{ github.event.workflow_run.head_commit.id }}
55
55
- name : Build vets-api Docker Image
56
56
uses : docker/build-push-action@v6
57
57
env :
64
64
context : .
65
65
push : true
66
66
tags : |
67
- ${{ steps.login-ecr.outputs.registry }}/${{ secrets.ECR_REPOSITORY }}:${{ github.sha }}
67
+ ${{ steps.login-ecr.outputs.registry }}/${{ secrets.ECR_REPOSITORY }}:${{ github.event.workflow_run.head_commit.id }}
68
68
cache-from : type=registry,ref=$ECR_REGISTRY/$ECR_REPOSITORY
69
69
cache-to : type=inline
70
70
deploy :
75
75
ecr_repository : " vets-api"
76
76
manifests_directory : " vets-api"
77
77
auto_deploy_envs : " dev staging prod sandbox"
78
- commit_sha : ${{ github.sha }}
78
+ commit_sha : ${{ github.event.workflow_run.head_commit.id }}
79
79
secrets :
80
80
aws_access_key_id : ${{ secrets.AWS_ACCESS_KEY_ID }}
81
81
aws_secret_access_key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Original file line number Diff line number Diff line change 12
12
auto_deploy_envs :
13
13
required : true
14
14
type : string
15
- commit_sha : # #${{ github.sha }}
15
+ commit_sha : # #${{ github.event.workflow_run.head_commit.id }}
16
16
required : true
17
17
type : string
18
18
secrets :
You can’t perform that action at this time.
0 commit comments