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:
Felix Fontein 2024-07-08 09:04:06 +02:00 committed by GitHub
parent 4277b60340
commit f9461bb441
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -15,7 +15,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
for PROGRAM in ${PROGRAMS}; do
rm -f "${PROGRAM}-${ARCH}"
GOARCH="${ARCH}" go build -ldflags "-s -w" -o "${PROGRAM}-${ARCH}" "${PROGRAM}.go"

View File

@ -5,7 +5,7 @@
- name: Basic pull tests
vars:
image_name: "{{ docker_test_image_hello_world_platform }}"
image_name: "{{ docker_test_image_simple_1 }}"
block:
- name: Make sure image is not there
docker_image_remove: