pleroma update
parent
ddb0c180d9
commit
aa4c2429e3
|
@ -1,3 +1,4 @@
|
||||||
gitolite/.env
|
gitolite/.env
|
||||||
ansible/.env
|
ansible/.env
|
||||||
ansible/known_hosts
|
ansible/known_hosts
|
||||||
|
*/out/image-name
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM elixir:1.13-alpine as build
|
FROM elixir:1.14-alpine as build
|
||||||
|
|
||||||
ENV MIX_ENV=prod
|
ENV MIX_ENV=prod
|
||||||
|
|
||||||
|
|
|
@ -3,12 +3,14 @@ REGISTRY=registry.monotremata.xyz
|
||||||
IMG=$(REGISTRY)/$(IMG_NAME)
|
IMG=$(REGISTRY)/$(IMG_NAME)
|
||||||
PLATFORMS=linux/amd64
|
PLATFORMS=linux/amd64
|
||||||
|
|
||||||
.PHONY: build push buildx
|
.PHONY: push buildx
|
||||||
|
|
||||||
build: Dockerfile entrypoint.sh
|
out/image-name: Dockerfile entrypoint.sh
|
||||||
|
mkdir -p $(@D)
|
||||||
docker build -t $(IMG) .
|
docker build -t $(IMG) .
|
||||||
|
@echo $(IMG) > $(@)
|
||||||
|
|
||||||
push: build
|
push: out/image-name
|
||||||
docker image push $(IMG)
|
docker image push $(IMG)
|
||||||
|
|
||||||
buildx: Dockerfile entrypoint.sh
|
buildx: Dockerfile entrypoint.sh
|
||||||
|
|
Loading…
Reference in New Issue