Skip to content

Commit

Permalink
Merge pull request #81 from grisu48/build
Browse files Browse the repository at this point in the history
Update build recipe for Codeberg
  • Loading branch information
grisu48 authored Jun 8, 2024
2 parents 62277da + 7db751c commit db9f5e8
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
MANIFEST="pasta-multiarch"
IMAGE="codeberg.org/grisu48/pasta"

default: all
all: pasta pastad
static: pasta-static pastad-static
Expand All @@ -22,9 +25,12 @@ test: pastad pasta
# TODO: This syntax is horrible :-)
bash -c 'cd test && ./test.sh'

container-docker: Containerfile pasta pastad
docker build . -t feldspaten.org/pasta
container:
#podman build . -t codeberg.org/grisu48/pasta

container-podman: Containerfile pasta pastad
podman build . -t feldspaten.org/pasta
buildah manifest create "${MANIFEST}"
buildah build --arch amd64 --tag "${IMAGE}" --manifest "${MANIFEST}" .
buildah build --arch arm64 --tag "${IMAGE}" --manifest "${MANIFEST}" .

container-push:
buildah manifest push --all "${MANIFEST}" "docker://${IMAGE}"

0 comments on commit db9f5e8

Please sign in to comment.