registry dual writes
This commit is contained in:
parent
174930fc90
commit
1e9558c1fc
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
|
@ -1,6 +1,7 @@
|
|||
### CI vars
|
||||
CI_LOGIN_COMMAND = @echo "Not a CI, skip login"
|
||||
CI_REGISTRY_IMAGE ?= registry.gitlab.com/etke.cc/postmoogle
|
||||
REGISTRY_IMAGE ?= registry.etke.cc/etke.cc/postmoogle
|
||||
CI_COMMIT_TAG ?= latest
|
||||
# for main branch it must be set explicitly
|
||||
ifeq ($(CI_COMMIT_TAG), main)
|
||||
|
|
@ -51,4 +52,4 @@ login:
|
|||
# docker build
|
||||
docker:
|
||||
docker buildx create --use
|
||||
docker buildx build --platform linux/arm64/v8,linux/amd64 --push -t ${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG} .
|
||||
docker buildx build --platform linux/arm64/v8,linux/amd64 --push -t ${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG} -t ${REGISTRY_IMAGE}:${CI_COMMIT_TAG} .
|
||||
|
|
|
|||
Loading…
Reference in a new issue