Merge pull request #587 from github/NewCOntainer

Push to new GitHub Container Registry
This commit is contained in:
Lukas Gravley 2020-08-18 10:55:32 -05:00 committed by GitHub
commit 972bc0999c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,7 +142,7 @@ ValidateInput() {
# Need to see if GPR registry and update name #
###############################################
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}"
info "Updated [IMAGE_REPO] to:[${IMAGE_REPO}] for GPR"
fi
@ -459,7 +459,7 @@ if [[ ${REGISTRY} == "Docker" ]]; then
####################################
elif [[ ${REGISTRY} == "GPR" ]]; then
# 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
#########