Uh oh!
There was an error while loading. Please reload this page.
GitHub Actions: Be precise about the format - #400
Conversation
I stumbled across this to add the plain branch name to the [Docker push action](https://github.com/docker/build-push-action) as a tag, which does not work with ```yaml with: tags: tillepille/my-image: ${{ github.ref }} ```
Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
janiceilene
commented
Oct 13, 2020
Thanks for opening a PR 👍 Please fill out the pull request template in the top comment in this pull request, then we'll get this up for review! |
tillepille
commented
Oct 13, 2020
@janiceilene Sorry, I missed it when opening the mr via whole UI workflow. Filled out, Issue also created |
janiceilene
commented
Oct 13, 2020
Thanks so much for filling out the template and opening an issue @tillepille 💛 I'll get this triaged for review! |
Uh oh!
There was an error while loading. Please reload this page.
Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. |
I stumbled across this to add the plain branch name to the Docker push action as a tag, which does not work with
Why:
I tried to get the plain branch name as a variable in my Action. The documentation suggested to me that this is the plain branch name e.g.
masterbut it is in the format ofrefs/heads/masterwhich isn't applicable as e.g a docker tag.What's being changed:
Be more precise about the format of the variable.
I added in the form of
refs/heads/<BRANCH_NAME>to the explanation.Check off the following:
closes#476