mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
Get rid of hello-world image, 1/2 (#924)
* Use our image for pull test. * Add 386 versions of the images.
This commit is contained in:
@@ -13,7 +13,7 @@ IMAGE_NAME="${1:-localhost/$(basename "$(pwd)"):latest}"
|
||||
podman manifest rm "${IMAGE_NAME}" || true
|
||||
podman image rm "${IMAGE_NAME}" || true
|
||||
buildah manifest create "${IMAGE_NAME}"
|
||||
for ARCH in amd64 arm64; do
|
||||
for ARCH in amd64 arm64 386; do
|
||||
rm -f "main-${ARCH}"
|
||||
GOARCH="${ARCH}" go build -ldflags "-s -w" -o "main-${ARCH}" main.go
|
||||
|
||||
|
||||
Reference in New Issue
Block a user