]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
sync-images: Login to dockerhub sync-docker 2521/head
authorDavid Galloway <david.galloway@ibm.com>
Tue, 30 Dec 2025 22:36:00 +0000 (17:36 -0500)
committerDavid Galloway <david.galloway@ibm.com>
Tue, 30 Dec 2025 22:36:00 +0000 (17:36 -0500)
Signed-off-by: David Galloway <david.galloway@ibm.com>
sync-images/build/build
sync-images/config/definitions/sync-images.yml

index 89d108de89cf581a26e14f9a07d541919a3c9dfc..810028465db55da3180f698d51eedbc701b74dc1 100644 (file)
@@ -4,6 +4,8 @@ set -e
 # shellcheck disable=SC2034
 WORKDIR=$(mktemp -td tox.XXXXXXXXXX)
 
+podman login -u ${DOCKER_HUB_USERNAME} -p ${DOCKER_HUB_PASSWORD} docker.io
+
 cat << EOF > ./sync.yml
 docker.io:
   images-by-semver:
index 3fdf7f7a8cdfdb949c59ee1f995b2553565bfdc2..50d84f8818f7ed0b5c520f3e0336607df3ed7d67 100644 (file)
@@ -38,4 +38,8 @@
           - username-password-separated:
               credential-id: sync-images-from-docker-to-quay
               username: DEST_USERNAME
-              password: DEST_PASSWORD
\ No newline at end of file
+              password: DEST_PASSWORD
+          - username-password-separated:
+              credential-id: dgalloway-docker-hub
+              username: DOCKER_HUB_USERNAME
+              password: DOCKER_HUB_PASSWORD