Our Personal Data Server from scratch! tranquil.farm
atproto pds rust postgresql fun oauth

feat(ci): publish container image on push #54

merged opened by tachyonism.tngl.sh targeting main from tachyonism.tngl.sh/tranquil-pds: main

Publish container image to atcr.io on every push to main. Need to set the ATCR_USERNAME and ATCR_PASSWORD in repo secret.

Labels

None yet.

assignee

None yet.

Participants 3
AT URI
at://did:plc:w6qiwij62bmdugsd3gemhpy2/sh.tangled.repo.pull/3mhcgo6kyac22
+23
Diff #0
+23
.tangled/workflows/publish-image.yml
··· 1 + when: 2 + - event: ["push"] 3 + branches: main 4 + 5 + engine: nixery 6 + 7 + dependencies: 8 + nixpkgs: 9 + - podman 10 + 11 + steps: 12 + - name: Create podman config 13 + command: | 14 + mkdir -p ~/.config/containers 15 + echo "unqualified-search-registries = [\"docker.io\"]" >> ~/.config/containers/registries.conf 16 + 17 + - name: Build image 18 + command: | 19 + podman build . -t tranquil-pds:latest -t "tranquil-pds:$TANGLED_COMMIT_SHA" 20 + 21 + - name: Publish image 22 + command: | 23 + podman push --creds "$ATCR_USERNAME:$ATCR_PASSWORD" tranquil-pds:latest atcr.io/tranquild-pds/tranquil

History

1 round 3 comments
sign up or login to add to the discussion
1 commit
expand
feat(ci): publish image on commit
expand 3 comments

Looks suitable to merge once this repo actually has access to a spindle, thank you!

we can just ... add a spindle ... imma do that rq and merge

Spindle still not up yet? :P

pull request successfully merged