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