Skip to content

Commit

Permalink
Merge pull request #5405 from iron-fish/staging
Browse files Browse the repository at this point in the history
staging -> master
  • Loading branch information
rohanjadvani authored Sep 20, 2024
2 parents fc8d80e + 6c16fc6 commit 8e83b5c
Show file tree
Hide file tree
Showing 216 changed files with 8,769 additions and 1,376 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/deploy-node-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ on:
description: 'AWS:{GIT_SHA}'
type: boolean
default: false
aws_tag_git_branch:
description: 'AWS:{BRANCH}'
type: boolean
default: false

permissions:
contents: read
Expand Down Expand Up @@ -116,6 +120,13 @@ jobs:
docker tag ironfish ${{ secrets.AWS_NODE_REGISTRY_URL }}/ironfish:${{ github.ref_name }}
docker push ${{ secrets.AWS_NODE_REGISTRY_URL }}/ironfish:${{ github.ref_name }}
# Used to deploy images for specific branches
- name: Deploy Node Image to AWS:${{ github.ref_name }}
if: ${{ inputs.aws_tag_git_branch && github.ref_type == 'branch' }}
run: |
docker tag ironfish ${{ secrets.AWS_NODE_REGISTRY_URL }}/ironfish:${{ github.ref_name }}
docker push ${{ secrets.AWS_NODE_REGISTRY_URL }}/ironfish:${{ github.ref_name }}
- name: Deploy Node Image to AWS:testnet
if: ${{ inputs.aws_tag_testnet }}
run: |
Expand Down
Loading

0 comments on commit 8e83b5c

Please sign in to comment.