prefix/suffix not working?
See original GitHub issueBehaviour
I am unable to add a prefix or suffix in v2 of this action, regardless if specified in the flavor or in the tag attributes.
Steps to reproduce this issue
- Specify
suffix=-dev
in flavor or individual tag - Run action
- Suffix is not applied
Expected behaviour
The action should append the suffix to the tag
Actual behaviour
The suffix is not appended
Configuration
- Repository URL (if public): https://github.com/strophy/js-drive
- Build URL (if public): https://github.com/strophy/js-drive/runs/2288637313
- name: Set -dev suffix
id: release_type
run: |
if [[ ${{ contains(github.event.release.tag_name, '-dev') }} = true ]]
then
echo '::set-output name=dev-suffix::-dev'
else
echo '::set-output name=dev-suffix::'
fi
- name: Docker meta
id: docker_meta
uses: crazy-max/ghaction-docker-meta@v2
with:
images: strophy/drive
tags: |
type=match,pattern=v(\d+),group=1
type=match,pattern=v(\d+.\d+),group=1
type=match,pattern=v(\d+.\d+.\d+),group=1
type=match,pattern=v(.*),group=1,suffix=,enable=${{ contains(github.event.release.tag_name, '-dev') }}
flavor: |
latest=${{ !contains(github.event.release.tag_name, '-dev') }}
suffix=${{ steps.release_type.outputs.dev-suffix }}
Logs
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Prefix and suffix not working with NzInputNumber component
Prefix and suffix should be inside input. Suffix should be aligned to right side. What is actually happening? Prefix and suffix is not...
Read more >LuckPerms prefix/suffix not working????? : r/MinecraftPlugins
Im trying to use essentials chat to make the prefix/suffix work. If anyone could help that would be 10/10 Thanks!
Read more >LuckPerms Prefix/Suffix NOT showing - SpigotMC
Running into the error where my LuckPerms prefix is not showing. I bought a server setup which had Pex as it's permission system....
Read more >3.4 Prefixes and Suffixes
Mastering common prefixes and suffixes is like learning a code. Once you crack the code, you can not only spell words more correctly...
Read more >html - Input with prefix/suffix, NOT with previous sibling selector
With both prefix & suffix, the input isn't rounded at all (the buttons are rounded). I have managed to handle the prefix element,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@strophy Ok great 😃
@strophy Can you make a test with
crazy-max/ghaction-docker-meta@override-flavor
please?