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

convert to groker format

zenfyr.dev a3dcdca7 a03f0e52

verified
Changed files
+15 -3
.tangled
workflows
+15 -3
.tangled/workflows/build-images.yml
···
--dockerfile=Containerfile \
--verbosity=info \
--destination=ghcr.io/zenfyrdev/xpost:amd64-latest \
-
--destination=atcr.io/zenfyr.dev/xpost:arm64-latest \
--custom-platform=linux/amd64
- name: build arm64
···
--dockerfile=Containerfile \
--verbosity=info \
--destination=ghcr.io/zenfyrdev/xpost:arm64-latest \
-
--destination=atcr.io/zenfyr.dev/xpost:arm64-latest \
--custom-platform=linux/arm64
- name: tag latest artifact
···
--ref ghcr.io/zenfyrdev/xpost:amd64-latest --platform linux/amd64 \
--ref ghcr.io/zenfyrdev/xpost:arm64-latest --platform linux/arm64
-
regctl index create atcr.io/zenfyr.dev/xpost:latest \
--ref atcr.io/zenfyr.dev/xpost:amd64-latest --platform linux/amd64 \
--ref atcr.io/zenfyr.dev/xpost:arm64-latest --platform linux/arm64
···
--dockerfile=Containerfile \
--verbosity=info \
--destination=ghcr.io/zenfyrdev/xpost:amd64-latest \
--custom-platform=linux/amd64
- name: build arm64
···
--dockerfile=Containerfile \
--verbosity=info \
--destination=ghcr.io/zenfyrdev/xpost:arm64-latest \
--custom-platform=linux/arm64
- name: tag latest artifact
···
--ref ghcr.io/zenfyrdev/xpost:amd64-latest --platform linux/amd64 \
--ref ghcr.io/zenfyrdev/xpost:arm64-latest --platform linux/arm64
+
- name: push to atcr.io
+
command: |
+
regctl image mod \
+
ghcr.io/zenfyrdev/xpost:arm64-latest \
+
--to-docker \
+
--create atcr.io/zenfyr.dev/xpost:arm64-latest
+
+
regctl image mod \
+
ghcr.io/zenfyrdev/xpost:amd64-latest \
+
--to-docker \
+
--create atcr.io/zenfyr.dev/xpost:amd64-latest
+
+
regctl index create \
+
atcr.io/zenfyr.dev/xpost:latest \
+
--media-type application/vnd.docker.distribution.manifest.list.v2+json \
--ref atcr.io/zenfyr.dev/xpost:amd64-latest --platform linux/amd64 \
--ref atcr.io/zenfyr.dev/xpost:arm64-latest --platform linux/arm64