mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-10 18:43:29 +00:00
16 lines
601 B
Makefile
16 lines
601 B
Makefile
include pgadmin4/.version
|
|
|
|
pgadmin4-nopush:
|
|
docker buildx build --platform linux/amd64 --load \
|
|
--build-arg VERSION=$(VERSION) \
|
|
--build-arg GUNICORN_VERSION=$(GUNICORN_VERSION) \
|
|
--tag alemairebe/pgadmin4:$(VERSION) pgadmin4
|
|
|
|
pgadmin4:
|
|
docker buildx build --platform linux/amd64,linux/arm64,linux/arm --push \
|
|
--build-arg VERSION=$(VERSION) \
|
|
--build-arg GUNICORN_VERSION=$(GUNICORN_VERSION) \
|
|
--cache-from=type=registry,ref=alemairebe/pgadmin4:buildx \
|
|
--cache-to=type=registry,ref=alemairebe/pgadmin4:buildx \
|
|
--tag alemairebe/pgadmin4:$(VERSION) pgadmin4
|