File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 25
25
description : ' AWS:{GIT_SHA}'
26
26
type : boolean
27
27
default : false
28
+ aws_tag_git_branch :
29
+ description : ' AWS:{BRANCH}'
30
+ type : boolean
31
+ default : false
28
32
29
33
permissions :
30
34
contents : read
@@ -116,6 +120,13 @@ jobs:
116
120
docker tag ironfish ${{ secrets.AWS_NODE_REGISTRY_URL }}/ironfish:${{ github.ref_name }}
117
121
docker push ${{ secrets.AWS_NODE_REGISTRY_URL }}/ironfish:${{ github.ref_name }}
118
122
123
+ # Used to deploy images for specific branches
124
+ - name : Deploy Node Image to AWS:${{ github.ref_name }}
125
+ if : ${{ inputs.aws_tag_git_branch && github.ref_type == 'branch' }}
126
+ run : |
127
+ docker tag ironfish ${{ secrets.AWS_NODE_REGISTRY_URL }}/ironfish:${{ github.ref_name }}
128
+ docker push ${{ secrets.AWS_NODE_REGISTRY_URL }}/ironfish:${{ github.ref_name }}
129
+
119
130
- name : Deploy Node Image to AWS:testnet
120
131
if : ${{ inputs.aws_tag_testnet }}
121
132
run : |
You can’t perform that action at this time.
0 commit comments