From 0c8cc80b7257ff3ef02ae9ce836fc58fe4b0ff62 Mon Sep 17 00:00:00 2001
From: Griefed <griefed@griefed.de>
Date: Sat, 29 Jul 2023 12:31:53 +0200
Subject: [PATCH] ci: Use docker proxy to reduce traffic

---
 .gitlab-ci.yml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0626f5a..f985df9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,10 +4,10 @@ stages:
   - build
 
 services:
-  - name: ghcr.io/griefed/gitlab-ci-cd:2.2.9
+  - name: docker.griefed.dev/griefed/gitlab-ci-cd:2.2.9
     alias: docker
 
-image: ghcr.io/griefed/gitlab-ci-cd:2.2.9
+image: docker.griefed.dev/griefed/gitlab-ci-cd:2.2.9
 
 variables:
   project_name: $CI_PROJECT_NAME
@@ -23,7 +23,6 @@ workflow:
 
 test docker:
   stage: test
-  image: ghcr.io/griefed/gitlab-ci-cd:2.2.9
   before_script:
     - docker login -u "$DOCKERHUB_USER" -p "$DOCKERHUB_TOKEN" docker.io
     - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
@@ -45,7 +44,6 @@ test docker:
 
 release:
   needs: ['test docker']
-  image: ghcr.io/griefed/gitlab-ci-cd:2.2.9
   stage: release
   script:
     - npx semantic-release
@@ -59,7 +57,6 @@ release:
 
 build:
   stage: build
-  image: ghcr.io/griefed/gitlab-ci-cd:2.2.9
   before_script:
     - docker login -u "$DOCKERHUB_USER" -p "$DOCKERHUB_TOKEN" docker.io
     - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
-- 
GitLab