stuff
All checks were successful
git.cronocide.net/container-copy/pipeline/head This commit looks good
All checks were successful
git.cronocide.net/container-copy/pipeline/head This commit looks good
This commit is contained in:
parent
b016f6281f
commit
144c301e04
8
build.sh
8
build.sh
@ -97,15 +97,13 @@ cicd_copy() {
|
||||
echo "Downloading regctl..."
|
||||
get_regctl
|
||||
# Log in to repo
|
||||
set +x
|
||||
echo "Logging into repo..."
|
||||
./regctl registry login "$GIT_REPO_NAME" --user "$DOCKER_USERNAME" --pass "$DOCKER_PASS"
|
||||
./regctl registry login "$GIT_REPO_NAME" --user "$DOCKER_USERNAME" --pass "$DOCKER_PASS" 2>&1
|
||||
# Copy repos
|
||||
echo "Copying repos..."
|
||||
for i in "${REPOS_TO_COPY[@]}"; do
|
||||
./regctl image copy $i
|
||||
./regctl image copy $i 2>&1
|
||||
done
|
||||
set -x
|
||||
echo "Done copying images"
|
||||
}
|
||||
|
||||
@ -142,4 +140,4 @@ REPOS_TO_COPY=("busybox:latest git.cronocide.net/cronocide/busybox:latest" \
|
||||
"nginx:latest git.cronocide.net/cronocide/nginx:latest")
|
||||
|
||||
# Run specified build task
|
||||
"$ACTION" 2>&1
|
||||
"$ACTION"
|
||||
|
Reference in New Issue
Block a user