Revert "ba1f2b9d75e27c8727306143819c8ea02e1213a1" (updated)
This commit is contained in:
parent
d264d68aee
commit
e9f847b9f5
1 changed files with 13 additions and 13 deletions
26
Makefile
26
Makefile
|
@ -1,20 +1,20 @@
|
||||||
PLATFORMS=linux/amd64
|
PLATFORMS=linux/amd64
|
||||||
|
|
||||||
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 " upload-only Uploads the image only, in case it fails"
|
@echo " upload-only Uploads the image only, in case it fails"
|
||||||
@echo " prune-cache Prunes the entire build cache"
|
@echo " prune-cache Prunes the entire build cache"
|
||||||
build:
|
build:
|
||||||
docker buildx rm actions-docker || true
|
docker buildx rm actions-docker || true
|
||||||
docker buildx create --bootstrap --name actions-docker --platform ${PLATFORMS}
|
docker buildx create --bootstrap --name actions-docker --platform ${PLATFORMS}
|
||||||
docker buildx build --builder actions-docker --load --platform ${PLATFORMS} --target base -t git.staropensource.de/infrastructure/actions-docker:latest .
|
docker buildx build --builder actions-docker --load --platform ${PLATFORMS} --target base -t git.staropensource.de/infrastructure/actions-docker:latest .
|
||||||
docker buildx build --builder actions-docker --load --platform ${PLATFORMS} --target java -t git.staropensource.de/infrastructure/actions-docker:java .
|
docker buildx build --builder actions-docker --load --platform ${PLATFORMS} --target java -t git.staropensource.de/infrastructure/actions-docker:java .
|
||||||
docker buildx rm actions-docker
|
docker buildx rm actions-docker
|
||||||
upload: build upload-only
|
upload: build upload-only
|
||||||
upload-only:
|
upload-only:
|
||||||
docker push git.staropensource.de/infrastructure/actions-docker:latest
|
docker push git.staropensource.de/infrastructure/actions-docker:latest
|
||||||
docker push git.staropensource.de/infrastructure/actions-docker:java
|
docker push git.staropensource.de/infrastructure/actions-docker:java
|
||||||
prune-cache:
|
prune-cache:
|
||||||
docker buildx prune -af
|
docker buildx prune -af
|
||||||
|
|
Loading…
Reference in a new issue