tangled
alpha
login
or
join now
zenfyr.dev
/
xpost
2
fork
atom
social media crossposting tool. 3rd time's the charm
mastodon
misskey
crossposting
bluesky
2
fork
atom
overview
issues
1
pulls
pipelines
try atcr.io.. 2
zenfyr.dev
5 months ago
a03f0e52
5f0de459
verified
This commit was signed with the committer's
known signature
.
zenfyr.dev
SSH Key Fingerprint:
SHA256:TtcIcnTnoAB5mqHofsaOxIgiMzfVBxej1AXT7DQdrTE=
0/1
build-images.yml
failed
1m 21s
+13
-10
1 changed file
expand all
collapse all
unified
split
.tangled
workflows
build-images.yml
+13
-10
.tangled/workflows/build-images.yml
···
9
9
- kaniko
10
10
- regctl
11
11
12
12
-
environment:
13
13
-
GHCR_USER: "zenfyrdev"
14
14
-
15
12
steps:
16
13
- name: create auth configs
17
14
command: |
18
15
mkdir -p $HOME/.docker $HOME/.regctl
19
16
20
17
cat > $HOME/.docker/config.json <<EOF
21
21
-
{"auths": {"ghcr.io": {"auth": "$(echo -n "$GHCR_USER:$GHCR_PAT" | base64 -w0)"}}}
18
18
+
{"auths": {"ghcr.io": {"auth": "$(echo -n "zenfyrdev:$GHCR_PAT" | base64 -w0)"}, "atcr.io": {"auth": "$(echo -n "zenfyr.dev:$APP_PASSWORD" | base64 -w0)"}}}
22
19
EOF
23
20
24
21
cat > $HOME/.regctl/config.json <<EOF
25
25
-
{"hosts": {"ghcr.io": {"user": "$GHCR_USER","pass": "$GHCR_PAT"}}}
22
22
+
{"hosts": {"ghcr.io": {"user": "zenfyrdev","pass": "$GHCR_PAT"}, "atcr.io": {"user": "zenfyr.dev","pass": "$APP_PASSWORD"}}}
26
23
EOF
27
24
28
25
- name: build amd64
···
31
28
--context=dir://. \
32
29
--dockerfile=Containerfile \
33
30
--verbosity=info \
34
34
-
--destination=ghcr.io/$GHCR_USER/xpost:amd64-latest \
31
31
+
--destination=ghcr.io/zenfyrdev/xpost:amd64-latest \
32
32
+
--destination=atcr.io/zenfyr.dev/xpost:arm64-latest \
35
33
--custom-platform=linux/amd64
36
34
37
35
- name: build arm64
···
40
38
--context=dir://. \
41
39
--dockerfile=Containerfile \
42
40
--verbosity=info \
43
43
-
--destination=ghcr.io/$GHCR_USER/xpost:arm64-latest \
41
41
+
--destination=ghcr.io/zenfyrdev/xpost:arm64-latest \
42
42
+
--destination=atcr.io/zenfyr.dev/xpost:arm64-latest \
44
43
--custom-platform=linux/arm64
45
44
46
45
- name: tag latest artifact
47
46
command: |
48
48
-
regctl index create ghcr.io/$GHCR_USER/xpost:latest \
49
49
-
--ref ghcr.io/$GHCR_USER/xpost:amd64-latest --platform linux/amd64 \
50
50
-
--ref ghcr.io/$GHCR_USER/xpost:arm64-latest --platform linux/arm64
47
47
+
regctl index create ghcr.io/zenfyrdev/xpost:latest \
48
48
+
--ref ghcr.io/zenfyrdev/xpost:amd64-latest --platform linux/amd64 \
49
49
+
--ref ghcr.io/zenfyrdev/xpost:arm64-latest --platform linux/arm64
50
50
+
51
51
+
regctl index create atcr.io/zenfyr.dev/xpost:latest \
52
52
+
--ref atcr.io/zenfyr.dev/xpost:amd64-latest --platform linux/amd64 \
53
53
+
--ref atcr.io/zenfyr.dev/xpost:arm64-latest --platform linux/arm64