updated agate
parent
8c3b80db39
commit
387f4fcc21
|
@ -1,4 +1,4 @@
|
|||
FROM alpine:3.13
|
||||
FROM alpine:3.16
|
||||
|
||||
RUN apk add --no-cache --virtual .build-deps cargo && \
|
||||
apk add --no-cache libgcc && \
|
||||
|
|
|
@ -1,10 +1,19 @@
|
|||
USERNAME = rilla
|
||||
IMG_NAME = agate
|
||||
IMG_NAME=agate
|
||||
REGISTRY=registry.monotremata.xyz
|
||||
IMG=$(REGISTRY)/$(IMG_NAME)
|
||||
PLATFORMS=linux/amd64
|
||||
|
||||
.PHONY: build build-nc
|
||||
|
||||
build: Dockerfile
|
||||
docker build -t $(USERNAME)/$(IMG_NAME) .
|
||||
docker build -t $(IMG) .
|
||||
|
||||
build-nc: Dockerfile
|
||||
docker build --no-cache -t $(USERNAME)/$(IMG_NAME) .
|
||||
push: build
|
||||
docker image push $(IMG)
|
||||
|
||||
buildx: Dockerfile
|
||||
docker buildx build \
|
||||
--platform $(PLATFORMS) \
|
||||
--tag $(IMG) \
|
||||
--push \
|
||||
.
|
||||
|
|
Loading…
Reference in New Issue