]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
Revert "bwc: pin podman auth to a persistent authfile"
authorDavid Galloway <david.galloway@ibm.com>
Tue, 28 Jul 2026 21:23:25 +0000 (17:23 -0400)
committerDavid Galloway <david.galloway@ibm.com>
Tue, 28 Jul 2026 21:23:25 +0000 (17:23 -0400)
This reverts commit aae7f2fd4e6efd45f36e0e9fa342b9d2db252bfd.

scripts/bwc.sh

index 184a3e30df8bbc9d630328b69fda200204528489..66838668591450fdf9b5ba505d623aef02a85f52 100644 (file)
@@ -83,10 +83,7 @@ bwc_login() {
     if [ -z "${DOCKER_HUB_USERNAME}" ] || [ -z "${DOCKER_HUB_PASSWORD}" ]; then
         return 0
     fi
-    export REGISTRY_AUTH_FILE="${HOME}/.config/containers/auth.json"
-    mkdir -p "${REGISTRY_AUTH_FILE%/*}"
-    podman login --authfile "${REGISTRY_AUTH_FILE}" \
-        -u "${DOCKER_HUB_USERNAME}" -p "${DOCKER_HUB_PASSWORD}" docker.io
+    podman login -u "${DOCKER_HUB_USERNAME}" -p "${DOCKER_HUB_PASSWORD}" docker.io
 }
 
 # bwc_arch - Print the architecture of the current host in the style