-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass through auth token to plugeth container builds
- Loading branch information
Showing
4 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
#!/usr/bin/env bash | ||
# Build cerc/plugeth-statediff | ||
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh | ||
docker build -t cerc/plugeth-statediff:local ${build_command_args} ${CERC_REPO_BASE_DIR}/plugeth-statediff | ||
# This container build currently requires access to private dependencies in gitea | ||
# so we check that the necessary access token has been supplied here, then pass it o the build | ||
if [[ -z "${CERC_GO_AUTH_TOKEN}" ]]; then | ||
echo "ERROR: CERC_GO_AUTH_TOKEN is not set" >&2 | ||
exit 1 | ||
fi | ||
docker build -t cerc/plugeth-statediff:local ${build_command_args} --build-arg GIT_VDBTO_TOKEN=${CERC_GO_AUTH_TOKEN} ${CERC_REPO_BASE_DIR}/plugeth-statediff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
#!/usr/bin/env bash | ||
# Build cerc/plugeth | ||
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh | ||
docker build -t cerc/plugeth:local ${build_command_args} ${CERC_REPO_BASE_DIR}/plugeth | ||
# This container build currently requires access to private dependencies in gitea | ||
# so we check that the necessary access token has been supplied here, then pass it o the build | ||
if [[ -z "${CERC_GO_AUTH_TOKEN}" ]]; then | ||
echo "ERROR: CERC_GO_AUTH_TOKEN is not set" >&2 | ||
exit 1 | ||
fi | ||
docker build -t cerc/plugeth:local ${build_command_args} --build-arg GIT_VDBTO_TOKEN=${CERC_GO_AUTH_TOKEN} ${CERC_REPO_BASE_DIR}/plugeth |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters