Our Personal Data Server from scratch!
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(ci): publish image on commit

authored by

HigherOrderLogic and committed by tangled.org 00d71fd3 c8bb4c90

+23
+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