still trying to get buildx to work
This commit is contained in:
parent
c08157e213
commit
31c176042c
@ -1,4 +1,5 @@
|
|||||||
# FROM ubuntu:focal
|
# FROM ubuntu:focal
|
||||||
|
ARG TARGETPLATFORM
|
||||||
FROM --platform=${TARGETPLATFORM:-linux/amd64} ubuntu:focal
|
FROM --platform=${TARGETPLATFORM:-linux/amd64} ubuntu:focal
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
|
|||||||
@ -12,10 +12,10 @@ docker buildx create --name "${BUILDX_NAME:-certbot}" || echo
|
|||||||
docker buildx use "${BUILDX_NAME:-certbot}"
|
docker buildx use "${BUILDX_NAME:-certbot}"
|
||||||
|
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
-f Dockerfile \
|
|
||||||
-t ${REGISTRY}/certbot_only:${TAG} \
|
|
||||||
--no-cache \
|
--no-cache \
|
||||||
--platform linux/amd64,linux/arm/v7,linux/arm64 \
|
--platform linux/amd64,linux/arm64 \
|
||||||
|
--file Dockerfile \
|
||||||
|
--tag ${REGISTRY}/certbot_only:${TAG} \
|
||||||
--push \
|
--push \
|
||||||
.
|
.
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user