generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Make compatible with Docker Metadata action #235
Comments
Would love to see this as I just hit the same issue. I was able to work around it by adding an intermediary step to get the tags in the format necessary. I have the metadata outputting the tags with a The script looks like this:
The workflow as such:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be really nice if this action were compatible with the Docker Metadata action, so that tags could be generated by that action and easily passed to this action.
Right now, if you do this:
The result is a Docker error, because
steps.metadata.outputs.tags
is already in the format"{image}:{tag}"[]
, and this action prepends each tag with{image}:
again. Docker doesn't like-t {image}:{image}:{tag}
and errors out.If this action could check each tag to see if it's already prepended with the image name before doing so, then I think it would be directly compatible with the official Docker action.
The text was updated successfully, but these errors were encountered: