Update indents in Makefile
This commit is contained in:
parent
91be3ae517
commit
ba1f2b9d75
1 changed files with 12 additions and 12 deletions
24
Makefile
24
Makefile
|
@ -1,18 +1,18 @@
|
|||
PLATFORMS=linux/amd64
|
||||
|
||||
help:
|
||||
@echo "make help Displays help"
|
||||
@echo " build Builds the image"
|
||||
@echo " upload Builds and uploads the image"
|
||||
@echo " prune-cache Prunes the entire build cache"
|
||||
@echo "make help Displays help"
|
||||
@echo " build Builds the image"
|
||||
@echo " upload Builds and uploads the image"
|
||||
@echo " prune-cache Prunes the entire build cache"
|
||||
build:
|
||||
docker buildx rm actions-docker || true
|
||||
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 java -t git.staropensource.de/infrastructure/actions-docker:java .
|
||||
docker buildx rm actions-docker
|
||||
docker buildx rm actions-docker || true
|
||||
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 java -t git.staropensource.de/infrastructure/actions-docker:java .
|
||||
docker buildx rm actions-docker
|
||||
upload: build
|
||||
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:latest
|
||||
docker push git.staropensource.de/infrastructure/actions-docker:java
|
||||
prune-cache:
|
||||
docker buildx prune -af
|
||||
docker buildx prune -af
|
||||
|
|
Loading…
Reference in a new issue