Open
Description
Version
Describe the bug
Related to the issue #18 , I create an empty config.json file with :
echo "{ \"auths\": {} }" > $HOME/.docker/config.json
The logout step "Removing registry credentials from" doesn't work, my config file always contain the credential but the logout action is OK.
Steps to reproduce, workflow links, screenshots
- name: Log in to docker.io
uses: redhat-actions/podman-login@v1
with:
username: ${{ env.REGISTRY_USER }}
password: ${{ env.REGISTRY_PASSWORD }}
registry: ${{ env.IMAGE_REGISTRY }}
More test
Also I tested with sample config with the same result :
echo "{ \"auths\": { \"dummy\": {} } }" > $HOME/.docker/config.json
Activity
~/.docker/config.json
doesn't exist #39~/.docker
dir #43