We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e52820 commit be0cc9cCopy full SHA for be0cc9c
.github/workflows/update_ppp_image.yaml
@@ -3,7 +3,8 @@ name: Docker Image CI/CD
3
on:
4
push:
5
branches:
6
- - main
+ - main # Trigger on push to the main branch
7
+ # Build container if these files are changed
8
paths:
9
- 'Dockerfile-ppp'
10
- 'ppp/runscript.sh'
@@ -49,7 +50,7 @@ jobs:
49
50
- name: Build and push Docker image
51
uses: docker/build-push-action@v5
52
with:
- context: .
53
+ context: . # Directory containing the Dockerfile
54
file: ./Dockerfile-ppp
55
push: true
56
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.set_tag.outputs.docker_tag }}
0 commit comments