mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 20:52:12 -05:00
Merge pull request #587 from github/NewCOntainer
Push to new GitHub Container Registry
This commit is contained in:
commit
972bc0999c
1 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@ ValidateInput() {
|
||||||
# Need to see if GPR registry and update name #
|
# Need to see if GPR registry and update name #
|
||||||
###############################################
|
###############################################
|
||||||
if [[ ${REGISTRY} == "GPR" ]]; then
|
if [[ ${REGISTRY} == "GPR" ]]; then
|
||||||
NAME="docker.pkg.github.com/${IMAGE_REPO}/super-linter"
|
NAME="containers.pkg.github.com/${IMAGE_REPO}/super-linter"
|
||||||
IMAGE_REPO="${NAME}"
|
IMAGE_REPO="${NAME}"
|
||||||
info "Updated [IMAGE_REPO] to:[${IMAGE_REPO}] for GPR"
|
info "Updated [IMAGE_REPO] to:[${IMAGE_REPO}] for GPR"
|
||||||
fi
|
fi
|
||||||
|
@ -459,7 +459,7 @@ if [[ ${REGISTRY} == "Docker" ]]; then
|
||||||
####################################
|
####################################
|
||||||
elif [[ ${REGISTRY} == "GPR" ]]; then
|
elif [[ ${REGISTRY} == "GPR" ]]; then
|
||||||
# Authenticate "Username" "Password" "Url" "Name"
|
# Authenticate "Username" "Password" "Url" "Name"
|
||||||
Authenticate "${GPR_USERNAME}" "${GPR_TOKEN}" "https://docker.pkg.github.com" "GitHub Package Registry"
|
Authenticate "${GPR_USERNAME}" "${GPR_TOKEN}" "https://containers.pkg.github.com" "GitHub Package Registry"
|
||||||
|
|
||||||
else
|
else
|
||||||
#########
|
#########
|
||||||
|
|
Loading…
Reference in a new issue