Skip to content

Commit 1e298e1

Browse files
authored
ci: explicit dockerhub login (#5910) (#5912)
1 parent 1a57f32 commit 1e298e1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.buildkite/pipeline.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ common:
2424
- docker_elastic_login_plugin: &docker_elastic_login_plugin
2525
elastic/vault-docker-login#v0.6.0:
2626
secret_path: 'kv/ci-shared/platform-ingest/elastic_docker_registry'
27+
- dockerhub_login_plugin: &dockerhub_login_plugin
28+
elastic/vault-docker-login#v0.6.0:
29+
secret_path: 'kv/ci-shared/observability-github-secrets/shared/docker/dockerhub/observabilityrobots'
2730
# See https://github.com/elastic/oblt-infra/blob/main/conf/resources/repos/fleet-server/01-gcp-buildkite-oidc.tf
2831
# This plugin authenticates to Google Cloud using the OIDC token.
2932
- oidc_plugin: &oidc_plugin
@@ -58,6 +61,7 @@ steps:
5861
machineType: "c2-standard-16"
5962
plugins:
6063
- *oidc_plugin
64+
- *dockerhub_login_plugin
6165

6266
- label: "Package x86_64 FIPS"
6367
key: "package-fips-x86-64-pr"
@@ -73,6 +77,7 @@ steps:
7377
machineType: "c2-standard-16"
7478
plugins:
7579
- *oidc_plugin
80+
- *dockerhub_login_plugin
7681

7782
- label: "Package aarch64"
7883
key: "package-arm64-pr"
@@ -87,6 +92,7 @@ steps:
8792
instanceType: "t4g.2xlarge"
8893
plugins:
8994
- *oidc_plugin
95+
- *dockerhub_login_plugin
9096

9197
- label: "Package aarch64 FIPS"
9298
key: "package-fips-arm64-pr"
@@ -102,6 +108,7 @@ steps:
102108
instanceType: "t4g.2xlarge"
103109
plugins:
104110
- *oidc_plugin
111+
- *dockerhub_login_plugin
105112

106113
- group: "Performance test"
107114
key: "performance-test"

0 commit comments

Comments
 (0)