mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2026-07-18 00:45:59 +00:00
Merge branch 'bugfix/KASM-7103_mirror_to_quay_github_hotfix_login' into 'develop'
KASM-7103 Add missing docker logins for quay and ghcr Closes KASM-7103 See merge request kasm-technologies/internal/workspaces-core-images!279
This commit is contained in:
commit
d6c8b3246d
1 changed files with 2 additions and 0 deletions
|
|
@ -19,6 +19,8 @@ variables:
|
|||
MIRROR_ORG_NAME: "{{ MIRROR_ORG_NAME }}"
|
||||
before_script:
|
||||
- docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
|
||||
- if [ "$CI_COMMIT_REF_PROTECTED" == "true" ]; then docker login --username $QUAY_USERNAME --password $QUAY_PASSWORD quay.io; fi
|
||||
- if [ "$CI_COMMIT_REF_PROTECTED" == "true" ]; then docker login --username $GHCR_USERNAME --password $GHCR_PASSWORD ghcr.io; fi
|
||||
- export SANITIZED_BRANCH="$(echo ${CI_COMMIT_REF_NAME:0:64} | sed -r 's#^release/##' | sed 's/\//_/g')"
|
||||
|
||||
###############################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue