Skip to content

Commit

Permalink
fe docker repo
Browse files Browse the repository at this point in the history
  • Loading branch information
pkrishnath committed Dec 11, 2024
1 parent f14b8d8 commit 62a278a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/manual-deploy-ten-gateway-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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=(
Expand All @@ -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"
Expand Down Expand Up @@ -156,17 +156,17 @@ 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'
uses: "azure/aci-deploy@v1"
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"
Expand Down

0 comments on commit 62a278a

Please sign in to comment.