This repository was archived by the owner on Jun 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 16
16
DOCKERHUB_REGISTRY : docker.io
17
17
IMAGE_NAME : ${{ github.repository }}
18
18
TEST_TAG : triliumnext/notes:test
19
+ PLATFORMS : linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
19
20
20
21
jobs :
21
22
test_docker :
72
73
packages : write
73
74
attestations : write
74
75
id-token : write
75
- steps :
76
+ steps :
76
77
- uses : actions/checkout@v4
78
+ - name : Set up QEMU
79
+ uses : docker/setup-qemu-action@v3
77
80
- name : Extract metadata (tags, labels) for GHCR image
78
81
id : ghcr-meta
79
82
uses : docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
@@ -107,7 +110,8 @@ jobs:
107
110
id : ghcr-push
108
111
with :
109
112
context : .
110
- push : true
113
+ platforms : ${{ env.PLATFORMS }}
114
+ push : true
111
115
tags : ${{ steps.ghcr-meta.outputs.tags }}
112
116
labels : ${{ steps.ghcr-meta.outputs.labels }}
113
117
cache-from : type=gha
@@ -129,6 +133,7 @@ jobs:
129
133
id : dh-push
130
134
with :
131
135
context : .
136
+ platforms : ${{ env.PLATFORMS }}
132
137
push : true
133
138
tags : ${{ steps.dh-meta.outputs.tags }}
134
139
labels : ${{ steps.dh-meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments