Build multi-arch image.

This will build only those architectures that we have runners to build on
This commit is contained in:
Micah Anderson 2024-02-06 09:38:22 -05:00 committed by micah
parent 0e593edc9a
commit 913732356a

View file

@ -1,5 +1,12 @@
FROM docker.io/library/golang:1.21 AS build
# Set some labels
# io.containers.autoupdate label will instruct podman to reach out to the corres
# corresponding registry to check if the image has been updated. If an image
# must be updated, Podman pulls it down and restarts the systemd unit executing
# the container. See podman-auto-update(1) for more details, or
# https://docs.podman.io/en/latest/markdown/podman-auto-update.1.html
LABEL io.containers.autoupdate=registry
LABEL org.opencontainers.image.authors="anti-censorship-team@lists.torproject.org"