Skip to content

Commit

Permalink
ci: use self-hosted images
Browse files Browse the repository at this point in the history
Docker not support loongarch64 yet, so we need to build the alpine base
image ourself.

See docker-library/official-images#17607
  • Loading branch information
Ikke committed Sep 27, 2024
1 parent 643b693 commit e3d4578
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ stages:
variables:
GIT_STRATEGY: clone
GIT_DEPTH: "500"
REGISTRY: registry.gitlab.org

# only rune pipelines for merge requests or when tags are pushed (for triggers)
workflow:
Expand All @@ -14,7 +15,7 @@ workflow:

lint:
stage: verify
image: alpinelinux/apkbuild-lint-tools:latest
image: $REGISTRY/alpine/infra/docker/apkbuild-lint-tools:latest
interruptible: true
script:
- lint
Expand All @@ -27,7 +28,8 @@ lint:

.build:
stage: verify
image: alpinelinux/alpine-gitlab-ci:latest
image:
name: $REGISTRY/alpine/infra/docker/alpine-gitlab-ci:latest
interruptible: true
script:
- build.sh
Expand All @@ -53,7 +55,6 @@ build-x86_64:
build-x86:
extends: .build
image:
name: alpinelinux/alpine-gitlab-ci:latest-x86
entrypoint: ["linux32", "sh", "-c"]
artifacts:
name: MR${CI_MERGE_REQUEST_ID}_x86
Expand Down Expand Up @@ -92,7 +93,6 @@ build-aarch64:
build-armv7:
extends: .build
image:
name: alpinelinux/alpine-gitlab-ci:latest-armv7
entrypoint: ["linux32", "sh", "-c"]
artifacts:
name: MR${CI_MERGE_REQUEST_ID}_armv7
Expand All @@ -104,7 +104,6 @@ build-armv7:
build-armhf:
extends: .build
image:
name: alpinelinux/alpine-gitlab-ci:latest-armhf
entrypoint: ["linux32", "sh", "-c"]
artifacts:
name: MR${CI_MERGE_REQUEST_ID}_armhf
Expand Down

0 comments on commit e3d4578

Please sign in to comment.