Skip to content

Commit 4260bf9

Browse files
author
Matthew Harris
committed
Adjusted for PIA
1 parent 0394fe8 commit 4260bf9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/webapp.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,17 @@ jobs:
2222
uses: actions/checkout@v2
2323
- name: Build Docker Image
2424
run: docker build --no-cache --build-arg app_version=1.0.$GITHUB_RUN_NUMBER --build-arg source_version=$GITHUB_SHA -t pia/azure-aisearch-webapp:latest -f ./src/Azure.AISearch.WebApp/Dockerfile ./src/Azure.AISearch.WebApp
25+
26+
- name: Log in to registry
27+
uses: docker/login-action@v2
28+
with:
29+
registry: https://index.docker.io/v1/
30+
username: ${{ secrets.DOCKER_USERNAME }}
31+
password: ${{ secrets.DOCKER_TOKEN }}
32+
2533
- name: Push Docker Image to GitHub
2634
run: |
27-
echo "${{ secrets.DOCKER_TOKEN }}" | docker login ghcr.io -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
35+
#echo "${{ secrets.DOCKER_TOKEN }}" | docker login ghcr.io -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
2836
docker tag pia/azure-aisearch-webapp:latest ghcr.io/pia/azure-aisearch-webapp:latest
2937
docker push ghcr.io/pia/azure-aisearch-webapp:latest
3038

0 commit comments

Comments
 (0)