social media crossposting tool. 3rd time's the charm
mastodon misskey crossposting bluesky

Revert "try atcr.io.. 2"

This reverts commit a03f0e527277af4b57417d9694ffe9529373caf4.

zenfyr.dev a388a755 231d364a

verified
+10 -13
+10 -13
.tangled/workflows/build-images.yml
··· 9 9 - kaniko 10 10 - regctl 11 11 12 + environment: 13 + GHCR_USER: "zenfyrdev" 14 + 12 15 steps: 13 16 - name: create auth configs 14 17 command: | 15 18 mkdir -p $HOME/.docker $HOME/.regctl 16 19 17 20 cat > $HOME/.docker/config.json <<EOF 18 - {"auths": {"ghcr.io": {"auth": "$(echo -n "zenfyrdev:$GHCR_PAT" | base64 -w0)"}, "atcr.io": {"auth": "$(echo -n "zenfyr.dev:$APP_PASSWORD" | base64 -w0)"}}} 21 + {"auths": {"ghcr.io": {"auth": "$(echo -n "$GHCR_USER:$GHCR_PAT" | base64 -w0)"}}} 19 22 EOF 20 23 21 24 cat > $HOME/.regctl/config.json <<EOF 22 - {"hosts": {"ghcr.io": {"user": "zenfyrdev","pass": "$GHCR_PAT"}, "atcr.io": {"user": "zenfyr.dev","pass": "$APP_PASSWORD"}}} 25 + {"hosts": {"ghcr.io": {"user": "$GHCR_USER","pass": "$GHCR_PAT"}}} 23 26 EOF 24 27 25 28 - name: build amd64 ··· 28 31 --context=dir://. \ 29 32 --dockerfile=Containerfile \ 30 33 --verbosity=info \ 31 - --destination=ghcr.io/zenfyrdev/xpost:amd64-latest \ 32 - --destination=atcr.io/zenfyr.dev/xpost:amd64-latest \ 34 + --destination=ghcr.io/$GHCR_USER/xpost:amd64-latest \ 33 35 --custom-platform=linux/amd64 34 36 35 37 - name: build arm64 ··· 38 40 --context=dir://. \ 39 41 --dockerfile=Containerfile \ 40 42 --verbosity=info \ 41 - --destination=ghcr.io/zenfyrdev/xpost:arm64-latest \ 42 - --destination=atcr.io/zenfyr.dev/xpost:arm64-latest \ 43 + --destination=ghcr.io/$GHCR_USER/xpost:arm64-latest \ 43 44 --custom-platform=linux/arm64 44 45 45 46 - name: tag latest artifact 46 47 command: | 47 - regctl index create ghcr.io/zenfyrdev/xpost:latest \ 48 - --ref ghcr.io/zenfyrdev/xpost:amd64-latest --platform linux/amd64 \ 49 - --ref ghcr.io/zenfyrdev/xpost:arm64-latest --platform linux/arm64 50 - 51 - regctl index create atcr.io/zenfyr.dev/xpost:latest \ 52 - --ref atcr.io/zenfyr.dev/xpost:amd64-latest --platform linux/amd64 \ 53 - --ref atcr.io/zenfyr.dev/xpost:arm64-latest --platform linux/arm64 48 + regctl index create ghcr.io/$GHCR_USER/xpost:latest \ 49 + --ref ghcr.io/$GHCR_USER/xpost:amd64-latest --platform linux/amd64 \ 50 + --ref ghcr.io/$GHCR_USER/xpost:arm64-latest --platform linux/arm64