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

Docker image label is incorrect #4

Open
mook-as opened this issue Oct 28, 2020 · 1 comment
Open

Docker image label is incorrect #4

mook-as opened this issue Oct 28, 2020 · 1 comment

Comments

@mook-as
Copy link
Member

mook-as commented Oct 28, 2020

Inspecting the image ghcr.io/cfcontainerizationbot/kubecf-apps-dns:0.1.0, I see that we have:

            "Labels": {
                " org.opencontainers.image.description": "An image containing the KubeCF Apps DNS CoreDNS plugin",
                " org.opencontainers.image.title": "KubeCF Apps DNS",
                " org.opencontainers.image.url": "https://github.com/SUSE/kubecf-apps-dns",
                " org.opencontainers.image.vendor": "SUSE Cloud Application Platform",
                "org.opencontainers.image.created": "2020-09-11T07:39:34Z",
                "org.opencontainers.image.revision": "2175967e311c3ab8b4149129443caebda160374a",
                "org.opencontainers.image.source": "https://github.com/SUSE/kubecf-apps-dns",
                "org.opencontainers.image.version": "0.1.0"
            }

Notice that the first four labels have a space prefix in the key.

@mook-as mook-as changed the title Docker image tag is incorrect Docker image label is incorrect Oct 28, 2020
@andreas-kupries
Copy link
Member

Checking the action docs at https://github.com/docker/build-push-action#customizing I found that
labels expect a LIST style value. The action definition uses a CSV style value instead AFAICT.
Maybe that is the issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants