Skip to content

Commit 43087f0

Browse files
author
Matthew Harris
committed
Adjusted for PIA
1 parent 6fbf257 commit 43087f0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/webapp.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,19 @@ jobs:
3636
# docker tag pia/azure-aisearch-webapp:latest ghcr.io/pia/azure-aisearch-webapp:latest
3737
# docker push ghcr.io/pia/azure-aisearch-webapp:latest
3838

39-
# - name: Log in to registry
40-
# uses: docker/login-action@v2
41-
# with:
42-
# registry: https://index.docker.io/v1/
43-
# username: ${{ secrets.DOCKER_USERNAME }}
44-
# password: ${{ secrets.DOCKER_TOKEN }}
39+
- name: Log in to registry
40+
uses: docker/login-action@v2
41+
with:
42+
registry: https://index.docker.io/v1/
43+
username: ${{ secrets.DOCKER_USERNAME }}
44+
password: ${{ secrets.DOCKER_TOKEN }}
4545

4646
- name: Build and push agent-service container image to registry
4747
uses: docker/build-push-action@v3
4848
with:
4949
context: ./src/Azure.AISearch.WebApp
5050
push: true
51-
tags: index.docker.io/astrobagel/azure-aisearch-webapp:latest
51+
tags: index.docker.io/${{ secrets.DOCKER_USERNAME }}/azure-aisearch-webapp:latest
5252
file: ./src/Azure.AISearch.WebApp/Dockerfile
5353
build-args: |
5454
app_version=1.0.${{ github.run_number }}

0 commit comments

Comments
 (0)