mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-17 13:58:19 +00:00
review builds
This commit is contained in:
@ -1,13 +1,18 @@
|
||||
include watchdog/.version
|
||||
NAMESPACE=alemairebe
|
||||
include version
|
||||
|
||||
watchdog-nopush:
|
||||
IMAGE=watchdog
|
||||
|
||||
nopush:
|
||||
docker buildx build --platform linux/amd64 --load \
|
||||
--build-arg VERSION=$(VERSION) \
|
||||
--tag alemairebe/watchdog:$(VERSION) watchdog
|
||||
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) .
|
||||
|
||||
watchdog:
|
||||
|
||||
push:
|
||||
docker buildx build --platform linux/amd64,linux/arm64,linux/arm,linux/ppc64le --push \
|
||||
--build-arg VERSION=$(VERSION) \
|
||||
--cache-from=type=registry,ref=alemairebe/watchdog \
|
||||
--cache-to=type=registry,ref=alemairebe/watchdog \
|
||||
--tag alemairebe/watchdog:$(VERSION) watchdog
|
||||
--cache-from=type=registry,ref=${namespace}/buildx:${IMAGE} \
|
||||
--cache-to=type=registry,ref=${namespace}/buildx:${IMAGE} \
|
||||
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) .
|
||||
|
||||
|
Reference in New Issue
Block a user