snapshots #5

Merged
jandre merged 37 commits from snapshots into master 2023-04-24 07:00:47 +00:00
2 changed files with 2 additions and 6 deletions
Showing only changes of commit 1aa9d9efb5 - Show all commits

View File

@ -1,5 +1,5 @@
# Build a small image
FROM --platform=${BUILDPLATFORM} golang:alpine3 AS builder
FROM --platform=${BUILDPLATFORM} golang:alpine3.17 AS builder
ARG TARGETOS
ARG TARGETARCH
ARG TARGETPLATFORM

View File

@ -20,15 +20,11 @@ vet:
.PHONY: docker-build-multiarch
docker-build-multiarch:
buildah bud --manifest $(MANIFEST) --platform=$(PLATFORMS) .
buildah bud --manifest $(MANIFEST) --platform=$(PLATFORMS) --layers .
.PHONY: docker-push
docker-push:
buildah manifest push --all --rm $(MANIFEST) "docker://$(IMG)"
.PHONY: docker-build-multiarch
docker-build-multiarch:
buildah bud --manifest $(MANIFEST) --platform linux/amd64,linux/arm64/v8 .
.PHONY: all
all: formolcli docker-build