Using the minor version instead of the patch version

This commit is contained in:
Thomas Stig Jacobsen 2021-03-09 09:31:16 +01:00
parent 75bfb2c86e
commit c97614906e
No known key found for this signature in database
GPG Key ID: 5957A5FE5914D6D8
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ COPY . .
RUN make test build.$ARCH
# final image
FROM $ARCH/alpine:3.13.2
FROM $ARCH/alpine:3.13
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=builder /sigs.k8s.io/external-dns/build/external-dns /bin/external-dns

View File

@ -82,7 +82,7 @@ build.push/multiarch:
for arch in $(ARCHS); do \
image="$(IMAGE):$(VERSION)-$${arch}" ;\
# pre-pull due to https://github.com/kubernetes-sigs/cluster-addons/pull/84/files ;\
docker pull $${arch}/alpine:3.13.2 ;\
docker pull $${arch}/alpine:3.13 ;\
DOCKER_BUILDKIT=1 docker build --rm --tag $${image} --build-arg VERSION="$(VERSION)" --build-arg ARCH="$${arch}" . ;\
docker push $${image} ;\
arch_specific_tags+=( "--amend $${image}" ) ;\