Skip to content

Commit

Permalink
Fix: verify-azure-function-with-packages #383
Browse files Browse the repository at this point in the history
Signed-off-by: Szymon Duchniewicz <szduchniewicz@gmail.com>
  • Loading branch information
Willmish committed Sep 12, 2023
1 parent 25121e6 commit 47c5903
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/verify-azure-function-with-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ jobs:
continue-on-error: true
run: docker rm -f ${{ env.CONTAINER_RUNTIME_NAME }}

# Build and tag final image, remove dangling images only if there are any
- name: Docker Target Final
run: |
docker build --no-cache . -f ${{ env.DOCKERFILE_PATH }} -t ${{ env.CONTAINER_IMAGE_NAME }}
docker rmi -f $(docker images -f "dangling=true" -q)
docker images -qf dangling=true | xargs docker rmi
- name: Docker Run Container
run: docker run -d --name ${{ env.CONTAINER_RUNTIME_NAME }} -p 8080:80 ${{ env.CONTAINER_IMAGE_NAME }}
Expand Down

0 comments on commit 47c5903

Please sign in to comment.