Skip to content

Commit 8e83b5c

Browse files
authored
Merge pull request #5405 from iron-fish/staging
staging -> master
2 parents fc8d80e + 6c16fc6 commit 8e83b5c

File tree

216 files changed

+8769
-1376
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

216 files changed

+8769
-1376
lines changed

.github/workflows/deploy-node-docker-image.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ on:
2525
description: 'AWS:{GIT_SHA}'
2626
type: boolean
2727
default: false
28+
aws_tag_git_branch:
29+
description: 'AWS:{BRANCH}'
30+
type: boolean
31+
default: false
2832

2933
permissions:
3034
contents: read
@@ -116,6 +120,13 @@ jobs:
116120
docker tag ironfish ${{ secrets.AWS_NODE_REGISTRY_URL }}/ironfish:${{ github.ref_name }}
117121
docker push ${{ secrets.AWS_NODE_REGISTRY_URL }}/ironfish:${{ github.ref_name }}
118122
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+
119130
- name: Deploy Node Image to AWS:testnet
120131
if: ${{ inputs.aws_tag_testnet }}
121132
run: |

0 commit comments

Comments
 (0)