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

ci: Use docker proxy to reduce traffic

parent d5cfd92e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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