Skip to content

Commit 23e2794

Browse files
committed
don't check for deleted files.
1 parent a1ce459 commit 23e2794

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build_docker_images.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ jobs:
4141
run: |
4242
CHANGED_FILES="${{ steps.file_changes.outputs.all }}"
4343
for FILE in $CHANGED_FILES; do
44+
# skip anything that isn’t still on disk
45+
if [[ ! -f "$FILE" ]]; then
46+
echo "Skipping removed file $FILE"
47+
continue
48+
fi
49+
4450
if [[ "$FILE" == docker/*Dockerfile ]]; then
4551
DOCKER_PATH="${FILE%/Dockerfile}"
4652
DOCKER_TAG=$(basename "$DOCKER_PATH")

0 commit comments

Comments
 (0)