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: ...@@ -7,7 +7,7 @@ test docker:
stage: test stage: test
image: griefed/docker-with-buildx:latest image: griefed/docker-with-buildx:latest
services: services:
- name: griefed/gitlab-ci-cd:1.0.3 - name: griefed/gitlab-ci-cd:1.0.4
alias: docker alias: docker
variables: variables:
project_name: $CI_PROJECT_NAME project_name: $CI_PROJECT_NAME
...@@ -22,7 +22,7 @@ test docker: ...@@ -22,7 +22,7 @@ test docker:
- docker buildx build - docker buildx build
--push --push
--no-cache --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 "index.docker.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:develop"
--tag "ghcr.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:develop" . --tag "ghcr.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:develop" .
except: except:
...@@ -34,7 +34,7 @@ test docker: ...@@ -34,7 +34,7 @@ test docker:
release: release:
needs: ['test docker'] needs: ['test docker']
stage: release stage: release
image: griefed/gitlab-ci-cd:1.0.3 image: griefed/gitlab-ci-cd:1.0.4
services: services:
- name: docker:dind - name: docker:dind
alias: docker alias: docker
...@@ -53,7 +53,7 @@ release: ...@@ -53,7 +53,7 @@ release:
build: build:
stage: build stage: build
image: griefed/gitlab-ci-cd:1.0.3 image: griefed/gitlab-ci-cd:1.0.4
services: services:
- name: docker:dind - name: docker:dind
alias: docker alias: docker
...@@ -67,11 +67,10 @@ build: ...@@ -67,11 +67,10 @@ build:
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes - docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- docker buildx create --use --name grfdbuilder - docker buildx create --use --name grfdbuilder
script: script:
- docker pull "$CI_REGISTRY_IMAGE:develop"
- docker buildx build - docker buildx build
--push --push
--platform linux/amd64,linux/arm/v7,linux/arm64
--no-cache --no-cache
--platform linux/amd64,linux/arm64
--tag "ghcr.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:$CI_COMMIT_TAG" --tag "ghcr.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:$CI_COMMIT_TAG"
--tag "ghcr.io/$DOCKERHUB_USER/$DOCKERHUB_REPO:latest" --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:$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