1
0
mirror of https://github.com/aziascreations/BakaShrot.git synced 2026-11-23 20:58:46 +01:00

Labeled the server image for ghcr.io, Built it without attestation

The Dockerfile sets org.opencontainers.image.source (and description,
licenses), and the build command adds --provenance=false: with the
default attestation the image is pushed as an index, where GitHub doesn't
read the label, so the package wasn't linked to the repository.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-11 23:18:20 +01:00
parent aa8b2c1780
commit d0048b17c8
2 changed files with 12 additions and 2 deletions
+4 -1
View File
@@ -20,9 +20,12 @@ From the repository's root:
```shell
git submodule update --init --recursive
docker login git.nibblepoker.lu
docker build -t bakashrot-server -f Docker/Server/Dockerfile .
docker build --provenance=false -t bakashrot-server -f Docker/Server/Dockerfile .
```
`--provenance=false` pushes the image as a plain manifest: with the default attestation it's an index, and GitHub
doesn't see the Dockerfile's `org.opencontainers.image.source` label there, so the package isn't linked to the repository.
## Uploading
Tag and push the image to both registries, with the version and as `latest`: