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 0b7b07d commit f14b8d8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/manual-deploy-ten-gateway-frontend.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "[M] Deploy Ten Gateway Frontend"
run-name: "[M] Deploy Ten Gateway Frontend ( ${{ inputs.testnet_type }} )"
name: "[M] Build and Deploy Ten Gateway Frontend"
run-name: "[M] Build and Deploy Ten Gateway Frontend ( ${{ inputs.testnet_type }} )"
on:
workflow_dispatch:
inputs:
Expand Down 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=${{ inputs.docker_build_tag_gateway_fe }}" >> $GITHUB_ENV
echo "DOCKER_BUILD_TAG_GATEWAY_FE=$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: ${{ inputs.docker_build_tag_gateway_fe }}"
echo "DOCKER_BUILD_TAG_GATEWAY_FE: $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 "${{ inputs.docker_build_tag_gateway_fe }}" \
-t "$DOCKER_REPO_GATEWAY_FE:${{ inputs.docker_build_tag_gateway_fe }}" \
-f ./tools/walletextension/frontend/Dockerfile .
docker push "${{ inputs.docker_build_tag_gateway_fe }}"
docker push "$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: ${{ inputs.docker_build_tag_gateway_fe }}
image: $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 f14b8d8

Please sign in to comment.