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

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

breaking: 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 729432ec
No related branches found
No related tags found
No related merge requests found
Pipeline #1227 passed
......@@ -7,7 +7,7 @@ test docker:
stage: test
image: griefed/docker-with-buildx:latest
services:
- name: griefed/gitlab-ci-cd:1.0.3
- name: griefed/gitlab-ci-cd:1.0.4
alias: docker
variables:
project_name: $CI_PROJECT_NAME
......@@ -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
......@@ -53,7 +53,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
......@@ -67,11 +67,10 @@ 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
--platform linux/amd64,linux/arm/v7,linux/arm64
--no-cache
--platform linux/amd64,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"
......
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