Update docker/action.yaml
This commit is contained in:
parent
5cf2c95549
commit
600aa1d35f
@ -25,11 +25,11 @@ runs:
|
||||
using: composite
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Login to registry
|
||||
run: echo "${{inputs.registry_pass}}" | docker login -u "${{inputs.registry_user}}" --password-stdin "${{inputs.registry}}"
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Create tag
|
||||
run: TAG=$([ -n "${{inputs.tag}}" ] && echo "${{inputs.tag}}" || [ "$GITHUB_REF" == "refs/heads/develop" ] && echo "latest" || echo "$GITHUB_REF_NAME" | sed -E "s/[_/]/-/g")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user