Add prune-cache job
This commit is contained in:
parent
ebf62cdacd
commit
a1a10d284f
1 changed files with 6 additions and 3 deletions
9
Makefile
9
Makefile
|
@ -1,10 +1,13 @@
|
||||||
help:
|
help:
|
||||||
@echo "make help Displays help"
|
@echo "make help Displays help"
|
||||||
@echo " build Builds the image"
|
@echo " build Builds the image"
|
||||||
@echo " upload Builds and uploads the image"
|
@echo " upload Builds and uploads the image"
|
||||||
|
@echo " prune-cache Prunes the entire build cache"
|
||||||
build:
|
build:
|
||||||
docker buildx build -t git.staropensource.de/staropensource/actions-docker:latest -f Dockerfile .
|
docker buildx build -t git.staropensource.de/staropensource/actions-docker:latest -f Dockerfile .
|
||||||
docker buildx build -t git.staropensource.de/staropensource/actions-docker:java -f Dockerfile.java .
|
docker buildx build -t git.staropensource.de/staropensource/actions-docker:java -f Dockerfile.java .
|
||||||
upload: build
|
upload: build
|
||||||
docker push git.staropensource.de/staropensource/actions-docker:latest
|
docker push git.staropensource.de/staropensource/actions-docker:latest
|
||||||
docker push git.staropensource.de/staropensource/actions-docker:java
|
docker push git.staropensource.de/staropensource/actions-docker:java
|
||||||
|
prune-cache:
|
||||||
|
docker buildx prune -af
|
||||||
|
|
Loading…
Reference in a new issue