pleroma update

main
Ricard Illa 2022-10-18 09:53:27 +02:00
parent ddb0c180d9
commit aa4c2429e3
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
3 changed files with 7 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
gitolite/.env
ansible/.env
ansible/known_hosts
*/out/image-name

View File

@ -1,4 +1,4 @@
FROM elixir:1.13-alpine as build
FROM elixir:1.14-alpine as build
ENV MIX_ENV=prod

View File

@ -3,12 +3,14 @@ REGISTRY=registry.monotremata.xyz
IMG=$(REGISTRY)/$(IMG_NAME)
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) .
@echo $(IMG) > $(@)
push: build
push: out/image-name
docker image push $(IMG)
buildx: Dockerfile entrypoint.sh