Hi all,
I'm using bitbucket pipeline to build and push images to a private Docker registry (ACR):
- echo ${AZURE_PASSWORD} | docker login $AZURE_ACR_URL --username "$AZURE_APP_ID" --password-stdin
- docker push "${IMAGE}:${VERSION}"It is working, but there is following statement shown in the logs:
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning.
See https://docs.docker.com/engine/reference/commandline/login/#credentials-store
I'm using the standard Atlassian template for the docker registry login and I'm wondering, if the whole process is secure?
Or is it not relevant, because the credentials are just stored temporarly unencrypted within the runtime container of the building step and after the execution, the container shuts down and credentials are gone anyway?
Thanks for any feedback 