10 lines
496 B
Makefile
10 lines
496 B
Makefile
help:
|
|
@echo "make help Displays help"
|
|
@echo " build Builds the image"
|
|
@echo " upload Builds and uploads the image"
|
|
build:
|
|
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 .
|
|
upload: build
|
|
docker push git.staropensource.de/staropensource/actions-docker:latest
|
|
docker push git.staropensource.de/staropensource/actions-docker:java
|