Skip to content

Commit

Permalink
Update docker-function.yml
Browse files Browse the repository at this point in the history
Fix Dockerfile reference
  • Loading branch information
Simon Waight authored Jul 8, 2024
1 parent ac7b75d commit 23662aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-function.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Build the Docker image
run:
docker pull ${{ secrets.ACR_LOGIN_SERVER }}/acs-oai-async:latest || true;
docker build . --file Docker/Dockerfile --cache-from ${{ secrets.ACR_LOGIN_SERVER }}/acs-oai-async:latest --tag ${{ secrets.ACR_LOGIN_SERVER }}/acs-oai-async:$(date +'%Y-%m-%d')_$GITHUB_RUN_NUMBER;
docker build . --file Dockerfile --cache-from ${{ secrets.ACR_LOGIN_SERVER }}/acs-oai-async:latest --tag ${{ secrets.ACR_LOGIN_SERVER }}/acs-oai-async:$(date +'%Y-%m-%d')_$GITHUB_RUN_NUMBER;
docker tag ${{ secrets.ACR_LOGIN_SERVER }}/acs-oai-async:$(date +'%Y-%m-%d')_$GITHUB_RUN_NUMBER ${{ secrets.ACR_LOGIN_SERVER }}/acs-oai-async:latest;
docker push ${{ secrets.ACR_LOGIN_SERVER }}/acs-oai-async:$(date +'%Y-%m-%d')_$GITHUB_RUN_NUMBER;
docker push ${{ secrets.ACR_LOGIN_SERVER }}/acs-oai-async:latest
Expand Down

0 comments on commit 23662aa

Please sign in to comment.