File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,13 +30,13 @@ jobs:
3030 uses : actions/checkout@v6
3131 with :
3232 ref : ' main'
33- fetch-depth : 2
33+ fetch-depth : 0
3434 fetch-tags : true
3535
3636 - name : Check for Docker changes
3737 id : changes
3838 run : |
39- if git diff --name-only $(git describe --abbrev=0 --tags $(git describe --abbrev=0)^) $(git describe --abbrev=0) | grep '^ \.devcontainer/Dockerfile '; then
39+ if git diff --name-only $(git describe --abbrev=0 --tags $(git describe --abbrev=0)^) $(git describe --abbrev=0) | grep -P '^( \.devcontainer/(?!devcontainer\.json).+)|(\.github/workflows/build.yaml) '; then
4040 echo "changed=true" >> $GITHUB_OUTPUT
4141 else
4242 echo "changed=false" >> $GITHUB_OUTPUT
6868 with :
6969 push : true
7070 file : .devcontainer/Dockerfile
71+ context : .devcontainer
7172 tags : ${{ steps.meta.outputs.tags }}
7273 labels : ${{ steps.meta.outputs.labels }}
7374 cache-from : type=gha
You can’t perform that action at this time.
0 commit comments