initial commit
This commit is contained in:
commit
d6f06c964a
2 changed files with 57 additions and 0 deletions
20
forgejo-podman-runner-image/build.sh
Executable file
20
forgejo-podman-runner-image/build.sh
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
|
||||
IMAGE_OWNER="EvanCarroll"
|
||||
IMAGE_NAME="forgejo-podman-runner-image"
|
||||
IMAGE_FULL="${IMAGE_NAME}:latest"
|
||||
REPO_PATH="git.coworkunion.com/${IMAGE_OWNER}/${IMAGE_NAME}"
|
||||
URL="https://${REPO_PATH}"
|
||||
|
||||
# Build the Forgejo runner image with Podman support
|
||||
# buildah bud -t git.coworkunion.com/evancarroll/forgejo-runner-podman:latest -f Containerfile
|
||||
buildah bud -t ${IMAGE_FULL} -f Containerfile
|
||||
|
||||
buildah build \
|
||||
--label "org.opencontainers.image.source=${URL}" \
|
||||
--label "org.opencontainers.image.url=${URL}" \
|
||||
--label "org.opencontainers.image.documentation=${URL}" \
|
||||
-t "$IMAGE_FULL" .
|
||||
|
||||
buildah push "${IMAGE_FULL}" "${REPO_PATH}"
|
||||
echo buildah push "${IMAGE_FULL}" "${REPO_PATH}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue