We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 870254e commit 9d27a00Copy full SHA for 9d27a00
1 file changed
.github/workflows/build.yaml
@@ -36,7 +36,7 @@ jobs:
36
- name: Check for Docker changes
37
id: changes
38
run: |
39
- if git diff --name-only $(git describe --abbrev=0 --tags $(git describe --abbrev=0)^) $(git describe --abbrev=0) | grep '^\.devcontainer/Dockerfile'; then
+ 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
40
echo "changed=true" >> $GITHUB_OUTPUT
41
else
42
echo "changed=false" >> $GITHUB_OUTPUT
@@ -68,6 +68,7 @@ jobs:
68
with:
69
push: true
70
file: .devcontainer/Dockerfile
71
+ context: .devcontainer
72
tags: ${{ steps.meta.outputs.tags }}
73
labels: ${{ steps.meta.outputs.labels }}
74
cache-from: type=gha
0 commit comments