mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-13 03:32:28 -04:00
CI/CircleCI: Authenticate to DockerHub when pulling the docker image (#25581)
For more information see the following links: - https://www.docker.com/blog/scaling-docker-to-serve-millions-more-developers-network-egress/ - https://docs.docker.com/docker-hub/download-rate-limit/ - https://circleci.com/docs/2.0/private-images/ Add DOCKERHUB_USERNAME and DOCKERHUB_PASSWORD secrets to CircleCI Environment Variables. DOCKERHUB_PASSWORD can be either the password or an access token.
This commit is contained in:
@@ -3,7 +3,13 @@ jobs:
|
||||
codestyle_and_sql:
|
||||
docker:
|
||||
- image: trinitycore/circle-ci:3.3.5-buildpacks-focal
|
||||
auth:
|
||||
username: $DOCKERHUB_USERNAME
|
||||
password: $DOCKERHUB_PASSWORD
|
||||
- image: circleci/mysql:8
|
||||
auth:
|
||||
username: $DOCKERHUB_USERNAME
|
||||
password: $DOCKERHUB_PASSWORD
|
||||
environment:
|
||||
MYSQL_ALLOW_EMPTY_PASSWORD: yes
|
||||
MYSQL_ROOT_PASSWORD: ''
|
||||
@@ -33,6 +39,9 @@ jobs:
|
||||
pch:
|
||||
docker:
|
||||
- image: trinitycore/circle-ci:3.3.5-buildpacks-focal
|
||||
auth:
|
||||
username: $DOCKERHUB_USERNAME
|
||||
password: $DOCKERHUB_PASSWORD
|
||||
steps:
|
||||
- run:
|
||||
name: Checkout
|
||||
@@ -64,6 +73,9 @@ jobs:
|
||||
nopch:
|
||||
docker:
|
||||
- image: trinitycore/circle-ci:3.3.5-buildpacks-focal
|
||||
auth:
|
||||
username: $DOCKERHUB_USERNAME
|
||||
password: $DOCKERHUB_PASSWORD
|
||||
steps:
|
||||
- run:
|
||||
name: Requirements
|
||||
|
||||
Reference in New Issue
Block a user