fork of https://f-hub.org/XMPP/xmpp-discord-bridge

try atcr.io again??

zenfyr.dev 52a5ec26 b85bd25a

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