hydrapp icon indicating copy to clipboard operation
hydrapp copied to clipboard

Bug: cant build binaries : No such image: ghcr.io/pojntfx/hydrapp-build-binaries:latest

Open gedw99 opened this issue 1 year ago • 4 comments

Hey @pojntfx

I am on "release-main" version I am on Mac m2.

Just learning this.. Not sure what I am missing, but seems to be not getting the docker image ?

cd myapp && hydrapp build --exclude '(apk|deb|rpm|flatpak|msi|dmg|docs|tests)'
2024/08/09 17:08:47 Skipping deb/amd64 (platform or architecture matched the provided regex)
2024/08/09 17:08:47 Skipping dmg/ (platform or architecture matched the provided regex)
2024/08/09 17:08:47 Skipping flatpak/amd64 (platform or architecture matched the provided regex)
2024/08/09 17:08:47 Skipping msi/amd64 (platform or architecture matched the provided regex)
2024/08/09 17:08:47 Skipping rpm/amd64 (platform or architecture matched the provided regex)
2024/08/09 17:08:47 Skipping apk/ (platform or architecture matched the provided regex)
2024/08/09 17:08:47 Skipping tests/ (platform or architecture matched the provided regex)
2024/08/09 17:08:47 Skipping docs/ (platform or architecture matched the provided regex)
{"status":"Pulling from pojntfx/hydrapp-build-binaries","id":"latest"}
{"errorDetail":{"message":"no matching manifest for linux/arm64/v8 in the manifest list entries"},"error":"no matching manifest for linux/arm64/v8 in the manifest list entries"}
panic: Error response from daemon: No such image: ghcr.io/pojntfx/hydrapp-build-binaries:latest

goroutine 18 [running]:
github.com/pojntfx/hydrapp/hydrapp/cmd.init.func1.3({0x100afed98, 0x140001448c0})
        /Users/apple/workspace/go/src/junk/hydrapp/hydrapp/cmd/build.go:725 +0xf8
created by github.com/pojntfx/hydrapp/hydrapp/cmd.init.func1 in goroutine 1
        /Users/apple/workspace/go/src/junk/hydrapp/hydrapp/cmd/build.go:712 +0x328c

repro:

Place this Makefile in the out folder where hydrapp binary is built.

NAME=hydrapp
export PATH:=$(PATH):$(PWD)


RUN_CONFIG=$(HOME)/.local/share/hydrapp/secrets.yaml
RUN_CMD=$(NAME)

APP=myapp


print:

run:
	$(RUN_CMD) -h
run-new:
	# no help
	$(RUN_CMD) new
run-new-del:
	rm -rf myapp
run-work:
	touch go.work
	go work use myapp
run-work-del:
	rm -f go.work
run-start:
	cd $(APP) && go run .
run-build:
	cd $(APP) && $(RUN_CMD) build -h
	# binaries only
	cd $(APP) && $(RUN_CMD) build --exclude '(apk|deb|rpm|flatpak|msi|dmg|docs|tests)'
	# none
	#cd $(APP) && $(RUN_CMD) build --exclude '(binaries|apk|deb|rpm|flatpak|msi|dmg|docs|tests)'

gedw99 avatar Aug 09 '24 07:08 gedw99

Hi! Sorry about this, this seems to be because the old release images have been unpublished! I'll be pushing a new release soon, that should fix things :)

pojntfx avatar Aug 23 '24 23:08 pojntfx