Skip to content

Commit

Permalink
Merge pull request #393 from Willmish/fix_azure_function_workflow
Browse files Browse the repository at this point in the history
Fix: verify-azure-function-with-packages #383
  • Loading branch information
danuw authored Sep 19, 2023
2 parents 25121e6 + d1cb14c commit cfd76fe
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 --no-run-if-empty 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 cfd76fe

Please sign in to comment.