Skip to content

Commit

Permalink
Fix dockerhub secret id
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Mar 12, 2024
1 parent d597f10 commit 8b96864
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ooniapi/services/oonirun/buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: 0.2
env:
variables:
OONI_CODE_PATH: ooniapi/services/oonirun
DOCKERHUB_SECRET_ID: oonidevops/dockerhub/access_token

phases:
install:
Expand All @@ -14,7 +15,7 @@ phases:
commands:
- aws --version
- echo "Logging in to ECR"
- aws secretsmanager get-secret-value --secret-id DOCKER_HUB_PASSWORD --query SecretString --output text | docker login --username ooni --password-stdin
- aws secretsmanager get-secret-value --secret-id $DOCKERHUB_SECRET_ID --query SecretString --output text | docker login --username ooni --password-stdin

build:
commands:
Expand Down

0 comments on commit 8b96864

Please sign in to comment.