From 636750448e417882c87b61a9c8cb76e54125fdf5 Mon Sep 17 00:00:00 2001 From: Hugh Cunningham <57735705+hughy@users.noreply.github.com> Date: Wed, 14 Aug 2024 15:28:22 -0700 Subject: [PATCH] allows deploying branch-named docker images to AWS (#5271) this will allow us to deploy a docker image to AWS named for the 'evm' branch or any branch that includes this change --- .github/workflows/deploy-node-docker-image.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/deploy-node-docker-image.yml b/.github/workflows/deploy-node-docker-image.yml index 08e9922184..a84877a02c 100644 --- a/.github/workflows/deploy-node-docker-image.yml +++ b/.github/workflows/deploy-node-docker-image.yml @@ -116,6 +116,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 a new 'evm' image to AWS + - name: Deploy Node Image to AWS:${{ github.ref_name }} + if: ${{ github.event.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: |