diff --git a/.github/workflows/manual-deploy-ten-gateway-frontend.yml b/.github/workflows/manual-deploy-ten-gateway-frontend.yml index 804204c0b..ef9d81304 100644 --- a/.github/workflows/manual-deploy-ten-gateway-frontend.yml +++ b/.github/workflows/manual-deploy-ten-gateway-frontend.yml @@ -94,7 +94,7 @@ jobs: echo "DNS_NAME_LABEL_GATEWAY_FE=$DNS_NAME_LABEL_GATEWAY_FE" >> $GITHUB_ENV echo "IMAGE_NAME_GATEWAY_FE=$IMAGE_NAME_GATEWAY_FE" >> $GITHUB_ENV - echo "DOCKER_BUILD_TAG_GATEWAY_FE=$DOCKER_REPO_GATEWAY_FE:${{ inputs.docker_build_tag_gateway_fe }}" >> $GITHUB_ENV + echo "DOCKER_BUILD_TAG_GATEWAY_FE=${{ vars.DOCKER_REPO_GATEWAY_FE }}:${{ inputs.docker_build_tag_gateway_fe }}" >> $GITHUB_ENV # Set instance-specific variables declare -a VAR_NAMES=( @@ -119,7 +119,7 @@ jobs: echo "Selected Instance Type: ${{ inputs.instance_type }}" echo "DNS_NAME_LABEL_GATEWAY_FE: $DNS_NAME_LABEL_GATEWAY_FE" echo "IMAGE_NAME_GATEWAY_FE: $IMAGE_NAME_GATEWAY_FE" - echo "DOCKER_BUILD_TAG_GATEWAY_FE: $DOCKER_REPO_GATEWAY_FE:${{ inputs.docker_build_tag_gateway_fe }}" + echo "DOCKER_BUILD_TAG_GATEWAY_FE: ${{ vars.DOCKER_REPO_GATEWAY_FE }}:${{ inputs.docker_build_tag_gateway_fe }}" echo "GATEWAY_URL: $GATEWAY_URL" echo "NETWORK_NAME: $NETWORK_NAME" echo "TENSCAN_URL: $TENSCAN_URL" @@ -156,9 +156,9 @@ jobs: --build-arg NEXT_PUBLIC_NETWORK_NAME="${{ inputs.next_public_network_name }}" \ --build-arg NEXT_PUBLIC_TENSCAN_URL="${{ inputs.next_public_tenscan_url }}" \ --build-arg NEXT_PUBLIC_GATEWAY_URL="${{ inputs.next_public_gateway_url }}" \ - -t "$DOCKER_REPO_GATEWAY_FE:${{ inputs.docker_build_tag_gateway_fe }}" \ + -t "${{ vars.DOCKER_REPO_GATEWAY_FE }}:${{ inputs.docker_build_tag_gateway_fe }}" \ -f ./tools/walletextension/frontend/Dockerfile . - docker push "$DOCKER_REPO_GATEWAY_FE:${{ inputs.docker_build_tag_gateway_fe }}" + docker push "${{ vars.DOCKER_REPO_GATEWAY_FE }}:${{ inputs.docker_build_tag_gateway_fe }}" - name: "Deploy Gateway FE to Azure Container Instances" if: inputs.deploy_gateway_fe == 'true' @@ -166,7 +166,7 @@ jobs: with: resource-group: ${{ secrets.RESOURCE_GROUP }} dns-name-label: ${{ env.DNS_NAME_LABEL_GATEWAY_FE }} - image: $DOCKER_REPO_GATEWAY_FE:${{ inputs.docker_build_tag_gateway_fe }} + image: ${{ vars.DOCKER_REPO_GATEWAY_FE }}:${{ inputs.docker_build_tag_gateway_fe }} name: ${{ env.IMAGE_NAME_GATEWAY_FE }} location: "uksouth" restart-policy: "Never"