Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Removing registry credentials doesn't work #36

Open
Ronan-WeScale opened this issue Jul 7, 2023 · 0 comments
Open

[BUG] Removing registry credentials doesn't work #36

Ronan-WeScale opened this issue Jul 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Ronan-WeScale
Copy link

Ronan-WeScale commented Jul 7, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant