mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-28 19:00:36 +00:00
fix(release): golang:1.22-alpine3.20 does not have all architectures
It was premature to try to use them, try again later. https://codeberg.org/forgejo-integration/forgejo/actions/runs/2147 github.com/docker/buildx v0.14.1 59582a88fca7858dbe1886fd1556b2a0d79e43a3 ::endgroup:: [command]/usr/bin/docker buildx build --build-arg RELEASE_VERSION=8.0-test --file Dockerfile --iidfile /tmp/docker-actions-toolkit-UzuWxS/iidfile --platform linux/amd64,linux/arm64,linux/arm/v6 --tag codeberg.org/***/forgejo:8.0-test --metadata-file /tmp/docker-actions-toolkit-UzuWxS/metadata-file --push . ------ > [linux/arm/v6 internal] load metadata for code.forgejo.org/oci/golang:1.22-alpine3.20: ------ Dockerfile:3 -------------------- 1 | FROM --platform=$BUILDPLATFORM docker.io/tonistiigi/xx AS xx 2 | 3 | >>> FROM --platform=$BUILDPLATFORM code.forgejo.org/oci/golang:1.22-alpine3.20 as build-env 4 | 5 | ARG GOPROXY -------------------- Dockerfile:1 -------------------- 1 | >>> FROM --platform=$BUILDPLATFORM docker.io/tonistiigi/xx AS xx 2 | 3 | FROM --platform=$BUILDPLATFORM code.forgejo.org/oci/golang:1.22-alpine3.20 as build-env -------------------- Dockerfile:54 -------------------- 52 | RUN chmod 644 /go/src/code.gitea.io/gitea/contrib/autocompletion/bash_autocomplete 53 | 54 | >>> FROM code.forgejo.org/oci/golang:1.22-alpine3.20 55 | ARG RELEASE_VERSION 56 | LABEL maintainer="contact@forgejo.org" \ -------------------- ERROR: failed to solve: code.forgejo.org/oci/golang:1.22-alpine3.20: failed to resolve source metadata for code.forgejo.org/oci/golang:1.22-alpine3.20: no match for platform in manifest: not found ::error::buildx failed with: ERROR: failed to solve: code.forgejo.org/oci/golang:1.22-alpine3.20: failed to resolve source metadata for code.forgejo.org/oci/golang:1.22-alpine3.20: no match for platform in manifest: not found
This commit is contained in:
parent
f2204d81f1
commit
d59ed64345
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
FROM --platform=$BUILDPLATFORM docker.io/tonistiigi/xx AS xx
|
||||
|
||||
FROM --platform=$BUILDPLATFORM code.forgejo.org/oci/golang:1.22-alpine3.20 as build-env
|
||||
FROM --platform=$BUILDPLATFORM code.forgejo.org/oci/golang:1.22-alpine3.19 as build-env
|
||||
|
||||
ARG GOPROXY
|
||||
ENV GOPROXY ${GOPROXY:-direct}
|
||||
|
@ -51,7 +51,7 @@ RUN chmod 755 /tmp/local/usr/bin/entrypoint \
|
|||
/go/src/code.gitea.io/gitea/environment-to-ini
|
||||
RUN chmod 644 /go/src/code.gitea.io/gitea/contrib/autocompletion/bash_autocomplete
|
||||
|
||||
FROM code.forgejo.org/oci/golang:1.22-alpine3.20
|
||||
FROM code.forgejo.org/oci/golang:1.22-alpine3.19
|
||||
ARG RELEASE_VERSION
|
||||
LABEL maintainer="contact@forgejo.org" \
|
||||
org.opencontainers.image.authors="Forgejo" \
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
FROM --platform=$BUILDPLATFORM docker.io/tonistiigi/xx AS xx
|
||||
|
||||
FROM --platform=$BUILDPLATFORM code.forgejo.org/oci/golang:1.22-alpine3.20 as build-env
|
||||
FROM --platform=$BUILDPLATFORM code.forgejo.org/oci/golang:1.22-alpine3.19 as build-env
|
||||
|
||||
ARG GOPROXY
|
||||
ENV GOPROXY ${GOPROXY:-direct}
|
||||
|
@ -49,7 +49,7 @@ RUN chmod 755 /tmp/local/usr/local/bin/docker-entrypoint.sh \
|
|||
/go/src/code.gitea.io/gitea/environment-to-ini
|
||||
RUN chmod 644 /go/src/code.gitea.io/gitea/contrib/autocompletion/bash_autocomplete
|
||||
|
||||
FROM code.forgejo.org/oci/golang:1.22-alpine3.20
|
||||
FROM code.forgejo.org/oci/golang:1.22-alpine3.19
|
||||
LABEL maintainer="contact@forgejo.org" \
|
||||
org.opencontainers.image.authors="Forgejo" \
|
||||
org.opencontainers.image.url="https://forgejo.org" \
|
||||
|
|
Loading…
Reference in a new issue