tangled
alpha
login
or
join now
stream.place
/
streamplace
Live video on the AT Protocol
74
fork
atom
overview
issues
1
pulls
pipelines
ci: manifest-tool should build to public repo
Eli Mallon
3 months ago
fcff60dd
e902ae92
+6
-7
1 changed file
expand all
collapse all
unified
split
.gitlab-ci.yml
+6
-7
.gitlab-ci.yml
···
206
206
--build-arg STREAMPLACE_URL=$STREAMPLACE_URL_LINUX_AMD64
207
207
--context "${CI_PROJECT_DIR}"
208
208
--dockerfile "${CI_PROJECT_DIR}/docker/release.Dockerfile"
209
209
-
--destination "$CI_REGISTRY_IMAGE:$STREAMPLACE_BRANCH-amd64"
210
210
-
--destination "$CI_REGISTRY_IMAGE:$STREAMPLACE_VERSION-amd64"
211
209
--destination "$DOCKER_REPO:$STREAMPLACE_BRANCH-amd64"
212
210
--destination "$DOCKER_REPO:$STREAMPLACE_VERSION-amd64"
213
211
···
232
230
--build-arg STREAMPLACE_URL=$STREAMPLACE_URL_LINUX_ARM64
233
231
--context "${CI_PROJECT_DIR}"
234
232
--dockerfile "${CI_PROJECT_DIR}/docker/release.Dockerfile"
235
235
-
--destination "$CI_REGISTRY_IMAGE:$STREAMPLACE_BRANCH-arm64"
236
236
-
--destination "$CI_REGISTRY_IMAGE:$STREAMPLACE_VERSION-arm64"
237
233
--destination "$DOCKER_REPO:$STREAMPLACE_BRANCH-arm64"
238
234
--destination "$DOCKER_REPO:$STREAMPLACE_VERSION-arm64"
239
235
--customPlatform=linux/arm64
···
253
249
- curl -s -L https://github.com/estesp/manifest-tool/releases/download/v2.1.7/binaries-manifest-tool-2.1.7.tar.gz | tar xvz
254
250
- mv manifest-tool-linux-amd64 ./manifest-tool
255
251
- chmod +x ./manifest-tool
252
252
+
- mkdir -p /kaniko/.docker
253
253
+
- cp "$DOCKER_AUTH_CONFIG" /kaniko/.docker/config.json
256
254
timeout: 2 hours
257
255
script:
258
258
-
- ./manifest-tool --username "${CI_REGISTRY_USER}" --password "${CI_REGISTRY_PASSWORD}" push from-args
256
256
+
- ./manifest-tool push from-args
257
257
+
--docker-cfg /kaniko/.docker/config.json
259
258
--platforms linux/amd64,linux/arm64
260
260
-
--template $CI_REGISTRY_IMAGE:$STREAMPLACE_VERSION-ARCH
259
259
+
--template $DOCKER_REPO:$STREAMPLACE_VERSION-ARCH
261
260
--tags $STREAMPLACE_BRANCH
262
262
-
--target $CI_REGISTRY_IMAGE:$STREAMPLACE_VERSION
261
261
+
--target $DOCKER_REPO:$STREAMPLACE_VERSION
263
262
264
263
.build-android:
265
264
stage: build