Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
System
Search
Commits
96498eb6
Commit
96498eb6
authored
Nov 17, 2020
by
Wyatt Nielsen
Committed by
Rucha Deshpande
Nov 20, 2020
Browse files
login to Docker Hub to prevent rate limiting issues
parent
c42afcb1
Pipeline
#16779
passed with stages
in 7 minutes and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
provider/search-aws/build-aws/buildspec.yaml
View file @
96498eb6
...
...
@@ -17,6 +17,11 @@
# https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-env-vars.html
version
:
0.2
env
:
secrets-manager
:
DOCKER_USERNAME
:
/osdu/devops/docker_credentials:username
DOCKER_PASSWORD
:
/osdu/devops/docker_credentials:password
phases
:
install
:
runtime-versions
:
...
...
@@ -62,6 +67,9 @@ phases:
-
echo "Building integration testing assemblies and gathering artifacts..."
-
./testing/integration-tests/search-test-aws/build-aws/prepare-dist.sh
-
echo "Logging into Docker Hub..."
-
docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD}
-
echo "Building docker image..."
-
docker build -f provider/search-aws/build-aws/Dockerfile -t ${ECR_IMAGE} .
-
docker tag ${ECR_IMAGE} ${ECR_IMAGE_BRANCH_LATEST}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment