'Generic Commit'
Some checks failed
dropshell-build / build (push) Has been cancelled

This commit is contained in:
Your Name
2025-06-14 22:07:46 +12:00
parent e4d0661d50
commit 1ac00e83f8
12 changed files with 164 additions and 144 deletions

23
build-base/publish.sh Executable file
View File

@ -0,0 +1,23 @@
#!/bin/bash
set -euo pipefail
# check standard variables present.
[[ -n $SOS_WRITE_TOKEN ]] || die "SOS_WRITE_TOKEN not specified"
[[ -n $DOCKER_PUSH_TOKEN ]] || die "DOCKER_PUSH_TOKEN not specified"
echo "Publishing dropshell-build-base:test as :latest..."
# Pull the multiarch manifest from :test tag
docker buildx imagetools create \
--tag gitea.jde.nz/public/dropshell-build-base:latest \
gitea.jde.nz/public/dropshell-build-base:test
echo "Successfully tagged dropshell-build-base:test as :latest"
# Show the manifest to confirm it's multiarch
echo ""
echo "Verifying multiarch manifest:"
docker buildx imagetools inspect gitea.jde.nz/public/dropshell-build-base:latest