while doing build in github actions, I would like to set docker image name, based on branch name ie: base-name-develop
I tried for example:
image-name: my-service:$(ref=${GITHUB_REF%refs/heads/master};echo ${ref:=latest})
but it does not work, looks like is try to set name with all those $( etc. ;) instead of echo it