Skip to content

Commit

Permalink
ci: Use docker proxy to reduce traffic
Browse files Browse the repository at this point in the history
  • Loading branch information
Griefed committed Jul 29, 2023
1 parent 086ba96 commit 9b717ed
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ variables:
GRADLE_USER_HOME: "$CI_PROJECT_DIR/.gradle"

services:
- name: ghcr.io/griefed/gitlab-ci-cd:2.2.9
- name: docker.griefed.dev/griefed/gitlab-ci-cd:2.2.9
alias: docker

workflow:
Expand All @@ -27,7 +27,7 @@ workflow:

Build Test:
stage: Tests
image: ghcr.io/griefed/baseimage-ubuntu-jdk17-kotlin:1.0.4
image: docker.griefed.dev/griefed/baseimage-ubuntu-jdk17-kotlin:1.0.4
before_script:
- echo "**** Running in $CI_JOB_ID ****"
- echo "**** Java location ****"
Expand Down Expand Up @@ -77,7 +77,7 @@ Build Test:
# TODO reactivate with milestone 6
#Docker Test:
# stage: Tests
# image: ghcr.io/griefed/gitlab-ci-cd:2.2.1
# image: docker.griefed.dev/griefed/gitlab-ci-cd:2.2.1
# needs:
# - job: Build Test
# artifacts: true
Expand All @@ -94,7 +94,7 @@ Build Test:

Generate Release:
stage: Release
image: ghcr.io/griefed/gitlab-ci-cd:2.2.9
image: docker.griefed.dev/griefed/gitlab-ci-cd:2.2.9
needs:
- job: Build Test
artifacts: false
Expand All @@ -109,7 +109,7 @@ Generate Release:

Build Release:
stage: Build Release
image: ghcr.io/griefed/baseimage-ubuntu-jdk17-kotlin:1.0.4
image: docker.griefed.dev/griefed/baseimage-ubuntu-jdk17-kotlin:1.0.4
needs:
- job: Build Test
artifacts: false
Expand Down Expand Up @@ -158,7 +158,7 @@ Build Release:

Sign Java Publication:
stage: Build Release
image: ghcr.io/griefed/baseimage-ubuntu-jdk17-kotlin:1.0.4
image: docker.griefed.dev/griefed/baseimage-ubuntu-jdk17-kotlin:1.0.4
needs:
- job: Build Release
artifacts: false
Expand Down Expand Up @@ -188,7 +188,7 @@ Sign Java Publication:

Publish GitHub:
stage: Build Release
image: ghcr.io/griefed/baseimage-ubuntu-jdk17-kotlin:1.0.4
image: docker.griefed.dev/griefed/baseimage-ubuntu-jdk17-kotlin:1.0.4
needs:
- job: Sign Java Publication
optional: false
Expand All @@ -210,7 +210,7 @@ Publish GitHub:

Publish GitLab:
stage: Build Release
image: ghcr.io/griefed/baseimage-ubuntu-jdk17-kotlin:1.0.4
image: docker.griefed.dev/griefed/baseimage-ubuntu-jdk17-kotlin:1.0.4
needs:
- job: Sign Java Publication
optional: false
Expand All @@ -232,7 +232,7 @@ Publish GitLab:

Publish GitGriefed:
stage: Build Release
image: ghcr.io/griefed/baseimage-ubuntu-jdk17-kotlin:1.0.4
image: docker.griefed.dev/griefed/baseimage-ubuntu-jdk17-kotlin:1.0.4
needs:
- job: Sign Java Publication
optional: false
Expand All @@ -254,7 +254,7 @@ Publish GitGriefed:

Publish OSSRH:
stage: Build Release
image: ghcr.io/griefed/baseimage-ubuntu-jdk17-kotlin:1.0.4
image: docker.griefed.dev/griefed/baseimage-ubuntu-jdk17-kotlin:1.0.4
needs:
- job: Sign Java Publication
optional: false
Expand All @@ -277,7 +277,7 @@ Publish OSSRH:
# TODO reactivate with milestone 6
#Build Docker Release:
# stage: Build Release
# image: ghcr.io/griefed/gitlab-ci-cd:2.2.1
# image: docker.griefed.dev/griefed/gitlab-ci-cd:2.2.1
# needs:
# - job: Build Test
# artifacts: true
Expand All @@ -301,7 +301,7 @@ Publish OSSRH:
# TODO reactivate with milestone 6
#Build Docker PreRelease:
# stage: Build Release
# image: ghcr.io/griefed/gitlab-ci-cd:2.2.1
# image: docker.griefed.dev/griefed/gitlab-ci-cd:2.2.1
# needs:
# - job: Build Test
# artifacts: true
Expand All @@ -322,7 +322,7 @@ Publish OSSRH:

pages:
stage: Documentation
image: ghcr.io/griefed/baseimage-ubuntu-jdk17-kotlin:1.0.4
image: docker.griefed.dev/griefed/baseimage-ubuntu-jdk17-kotlin:1.0.4
allow_failure: true
before_script:
- which java
Expand Down

0 comments on commit 9b717ed

Please sign in to comment.