Skip to content

Commit

Permalink
Update action
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Wahlin committed Sep 22, 2022
1 parent d8d8882 commit dd5120d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
uses: docker/build-push-action@v2
with:
push: true
tags: https://registry.hub.docker.com/angular-jumpstart-ui:${{ github.sha }}
file: ./.docker/nginx.dockerfile/Dockerfile
context: ./.docker/nginx.dockerfile/
tags: https://registry.hub.docker.com/danwahlin/nginx-angular-jumpstart:${{ github.sha }}
file: ./.docker/nginx.dockerfile
context: ./


deploy:
Expand All @@ -57,4 +57,4 @@ jobs:
inlineScript: |
az config set extension.use_dynamic_install=yes_without_prompt
az containerapp registry set -n angular-jumpstart-ui -g Angular-Jumpstart-RG --server https://registry.hub.docker.com --username ${{ secrets.ANGULARJUMPSTARTUI_REGISTRY_USERNAME }} --password ${{ secrets.ANGULARJUMPSTARTUI_REGISTRY_PASSWORD }}
az containerapp update -n angular-jumpstart-ui -g Angular-Jumpstart-RG --image https://registry.hub.docker.com/angular-jumpstart-ui:${{ github.sha }}
az containerapp update -n angular-jumpstart-ui -g Angular-Jumpstart-RG --image https://registry.hub.docker.com/danwahlin/nginx-angular-jumpstart:${{ github.sha }}
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ az containerapp env create -n angular-jumpstart-env -g Angular-Jumpstart-RG \
```bash
az containerapp create -n angular-jumpstart-api -g Angular-Jumpstart-RG \
--environment angular-jumpstart-env \
--image danwahlin/node-service-jumpstart \
--image <YOUR_DOCKER_HUB_NAME>/node-service-jumpstart \
--ingress external --target-port 8080
```

Expand Down Expand Up @@ -227,7 +227,7 @@ Change the image name to match your tag as you build.
```bash
az containerapp create -n angular-jumpstart-ui -g Angular-Jumpstart-RG \
--environment angular-jumpstart-env \
--image danwahlin/nginx-angular-jumpstart \
--image <YOUR_DOCKER_HUB_NAME>/nginx-angular-jumpstart \
--ingress external --target-port 80
```

Expand Down Expand Up @@ -255,6 +255,7 @@ Navigate to the FQDN value shown after running the previous command.
--context-path "./.docker/nginx.dockerfile" \
--branch main \
--name angular-jumpstart-ui \
--image <YOUR_DOCKER_HUB_NAME>/nginx-angular-jumpstart
--resource-group Angular-Jumpstart-RG \
--registry-url https://registry.hub.docker.com \
--registry-username <REGISTRY_USER_NAME> \
Expand All @@ -273,6 +274,7 @@ Navigate to the FQDN value shown after running the previous command.
--context-path "./.docker/node.dockerfile" \
--branch main \
--name angular-jumpstart-api \
--image <YOUR_DOCKER_HUB_NAME>/node-service-jumpstart
--resource-group Angular-Jumpstart-RG \
--registry-url https://registry.hub.docker.com \
--registry-username <REGISTRY_USER_NAME> \
Expand Down

0 comments on commit dd5120d

Please sign in to comment.