Skip to content

Commit 5741a06

Browse files
committed
fixed clean cache
1 parent 50d2112 commit 5741a06

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/docker-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ jobs:
2828
run: docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
2929
- name: Clear docker cache if Wed
3030
run: |
31-
if [ $(date +%a) == "Wed" ] then
31+
today=$(date +%a)
32+
if [ $today = "Wed" ]
33+
then
3234
docker system prune -f
3335
fi
3436
shell: bash

0 commit comments

Comments
 (0)