environment: BUILD_SUBMITTER: yojo GIT_REF: refs/heads/master image: archlinux packages: - podman secrets: - 106c7011-4e0e-4b33-a3f2-ffea55ce3f4b sources: - https://codeberg.org/emersion/soju-containers.git#3a6204595e1ad44828235b4478b72c32f9f6cde1 tasks: - build: | cd soju-containers platforms=linux/amd64,linux/arm64,linux/arm/v6 podman build --platform $platforms --target soju --manifest soju soju podman build --platform $platforms --target gamja --manifest gamja gamja - deploy: | cd soju-containers [ "$(git rev-parse HEAD)" = "$(git rev-parse origin/master)" ] || complete-build podman login codeberg.org --username emersion --password-stdin <~/codeberg-token.txt podman manifest push soju codeberg.org/emersion/soju podman manifest push gamja codeberg.org/emersion/gamja