Rust implementation of OCI Distribution Spec with granular access control

chore: migrate from GitHub Actions to Tangled Spindle CI/CD

+26
+26
.tangled/workflows/build.yml
··· 1 + when: 2 + - event: ["push"] 3 + branch: ["main"] 4 + - event: ["push"] 5 + tag: ["v*"] 6 + 7 + engine: "nixery" 8 + 9 + dependencies: 10 + nixpkgs: 11 + - docker 12 + - git 13 + - bash 14 + 15 + steps: 16 + - name: "Build Docker image" 17 + command: | 18 + docker build -t grain:${TANGLED_COMMIT_SHA:0:7} -t grain:latest . 19 + 20 + - name: "Push to GHCR" 21 + command: | 22 + echo "$GHCR_TOKEN" | docker login ghcr.io -u "$GHCR_USERNAME" --password-stdin 23 + docker tag grain:latest ghcr.io/pierrelefevre/grain:latest 24 + docker tag grain:latest ghcr.io/pierrelefevre/grain:${TANGLED_COMMIT_SHA:0:7} 25 + docker push ghcr.io/pierrelefevre/grain:latest 26 + docker push ghcr.io/pierrelefevre/grain:${TANGLED_COMMIT_SHA:0:7}