File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ parameters:
88 description : Space-separated list of registries to push the Docker image to.
99 default : " "
1010steps :
11+ - add_ssh_keys
1112 - setup_docker_auth :
1213 push_registries : << parameters.push_registries >>
1314 - build_docker_image
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ parameters:
88 description : Space-separated list of registries to push the Docker image to.
99 default : " "
1010steps :
11+ - add_ssh_keys
1112 - setup_docker_auth :
1213 push_registries : << parameters.push_registries >>
1314 - build_docker_image :
Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ info "🔓 Authenticating to GitHub"
2828# In order to get the box config, we need to authenticate with GitHub
2929# shellcheck source=../auth/github.sh
3030source " ${AUTH_DIR} /github.sh"
31+ # We need to set up SSH to ensure that we can access private
32+ # repositories when building the Docker images
33+ # shellcheck source=../auth/ssh.sh
34+ source " ${AUTH_DIR} /ssh.sh"
3135
3236git config --global --remove-section url.
" ssh://[email protected] " 3337GH_NO_UPDATE_NOTIFIER=true gh auth setup-git
You can’t perform that action at this time.
0 commit comments