refactor: Update Go version

This commit updates the Go version to the latest stable release and adds QEMU setup to the GitHub workflow. It also sets up the necessary environment variables required by GoReleaser. These changes ensure that the project is using the latest Go version and is ready for release.

Adds support for more architectures, package types, and better docker image.
This commit is contained in:
Alex Lovell-Troy 2024-10-30 09:56:44 -06:00
parent 7941d6caad
commit 041d134079
No known key found for this signature in database
7 changed files with 168 additions and 176 deletions

View file

@ -1,13 +1,17 @@
FROM cgr.dev/chainguard/wolfi-base
FROM chainguard/wolfi-base:latest
RUN apk add --no-cache tini bash
# Include curl in the final image for manual checks of the Redfish urls
RUN set -ex \
&& apk update \
&& apk add --no-cache curl tini \
&& rm -rf /var/cache/apk/* \
&& rm -rf /tmp/*
# nobody 65534:65534
USER 65534:65534
COPY magellan /magellan
COPY /bin/magellan.sh /magellan.sh
CMD [ "/magellan" ]