Skip to content

Commit 9d27a00

Browse files
committed
Update CI
1 parent 870254e commit 9d27a00

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
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
@@ -68,6 +68,7 @@ jobs:
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

0 commit comments

Comments
 (0)