-
-
Notifications
You must be signed in to change notification settings - Fork 98
Conversation
03e7303
to
a6f93ad
Compare
TAGS="${TAGS}${DOCKER_REPO}:$(echo ${GITHUB_REF} | sed "s/refs\/tags\/v//")\n" | ||
fi | ||
|
||
TAGS="${TAGS}${DOCKER_REPO}:sha-${GITHUB_SHA}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New tag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, sorry forgot to call out
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it used for caching?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, more for allowing someone to use something ahead of a release without opening themselves to a breaking change coming in next time they pull
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And what about the 'just build on pr' part? It will push also pull requests with the format robertslando/zwave2mqtt:sha-<sha>
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only prs on this repo, prs from forks don't get the secret to push
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh missed the if in the login part
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its more that forks don't get access to the secrets, otherwise anyone could just get your dockerhub creds
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Seen build fail. Will fix shortly |
Ok let me know, sincerly I have checked the code and I don't understand why the tag isn't appended correctly in the string, maybe the |
its loosing that its multiline var |
related to actions/toolkit#403 i think |
😕 |
No description provided.