summaryrefslogtreecommitdiffhomepage
path: root/building
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2023-06-26 10:16:53 +0200
committerLinus Färnstrand <linus@mullvad.net>2023-06-27 09:42:18 +0200
commit46db36863abd87eeba81d610bacebdba826ca9fc (patch)
tree2569eb8b986dc388d0addc3126ecc487dbf367d4 /building
parentae92c9a5e52607f2a8c1c31818f701a183131513 (diff)
downloadmullvadvpn-46db36863abd87eeba81d610bacebdba826ca9fc.tar.xz
mullvadvpn-46db36863abd87eeba81d610bacebdba826ca9fc.zip
Document how to log in to ghcr.io when publishing packages
Diffstat (limited to 'building')
-rw-r--r--building/README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/building/README.md b/building/README.md
index 44efb65199..505c47f780 100644
--- a/building/README.md
+++ b/building/README.md
@@ -22,6 +22,9 @@ docker:
sigstore-staging: file://${repo}/building/sigstore
```
+Sign in to ghcr.io with a classic auth token. Read more here:
+https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#authenticating-with-a-personal-access-token-classic
+
Build and publish the container image. Tag it with the github hash of the current commit.
This also adds the container GPG signatures to the sigstore and commits that to git.
The single sigstore addition (signed) commit can be pushed directly to the main branch without PR.