Skip to content
Snippets Groups Projects
Commit 562bccaa authored by Griefed's avatar Griefed :joystick:
Browse files

ci: Move to gitlab-ci-cd:1.0.4 which deprecates armv7 images. Staying...

ci: Move to gitlab-ci-cd:1.0.4 which deprecates armv7 images. Staying up-to-date is more important than supporting old platforms. Sorry, you may need to consider getting a Raspberry Pi 4.
parent d3d1d791
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ stages:
test docker:
stage: test
image: griefed/gitlab-ci-cd:1.0.3
image: griefed/gitlab-ci-cd:1.0.4
services:
- name: docker:dind
alias: docker
......@@ -22,7 +22,7 @@ test docker:
- docker buildx build
--push
--no-cache
--platform linux/amd64,linux/arm/v7,linux/arm64
--platform linux/amd64,linux/arm64
--tag "index.docker.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:develop"
--tag "ghcr.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:develop" .
except:
......@@ -34,7 +34,7 @@ test docker:
release:
needs: ['test docker']
stage: release
image: griefed/gitlab-ci-cd:1.0.3
image: griefed/gitlab-ci-cd:1.0.4
services:
- name: docker:dind
alias: docker
......@@ -54,7 +54,7 @@ release:
build:
stage: build
image: griefed/gitlab-ci-cd:1.0.3
image: griefed/gitlab-ci-cd:1.0.4
services:
- name: docker:dind
alias: docker
......@@ -68,14 +68,13 @@ build:
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- docker buildx create --use --name grfdbuilder
script:
- docker pull "$CI_REGISTRY_IMAGE:develop"
- docker buildx build
--push
--no-cache
--platform linux/amd64,linux/arm/v7,linux/arm64
--platform linux/amd644,linux/arm64
--tag "ghcr.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:$CI_COMMIT_TAG"
--tag "ghcr.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:latest"
--tag "index.docker.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:$CI_COMMIT_TAG"
--tag "index.docker.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:latest" .
only:
- tags
\ No newline at end of file
- tags
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment