-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
actions: Build container manifest for singular image tag
- Loading branch information
Showing
2 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,7 @@ | ||
VERSION = 20241228 | ||
VERSION = 19000101 | ||
REGISTRY = ghcr.io/haiku | ||
HOST = `uname -m` | ||
default: | ||
podman build --pull --no-cache --tag ${REGISTRY}/general-worker:${VERSION}-${HOST} . | ||
enter: | ||
podman run -it ${REGISTRY}/general-worker:${VERSION} /bin/bash -l | ||
push: | ||
podman push ${REGISTRY}/general-worker:${VERSION}-${HOST} | ||
push-manifest: | ||
# Make sure you have all the intended images built and pushed ;-) | ||
podman manifest create ${REGISTRY}/general-worker:${VERSION} \ | ||
--amend ${REGISTRY}/general-worker:${VERSION}-x86_64 \ | ||
--amend ${REGISTRY}/general-worker:${VERSION}-aarch64 \ | ||
podman run -it ${REGISTRY}/general-worker:${VERSION}-${HOST} /bin/bash -l |