Update docker/push/action.yaml
This commit is contained in:
parent
e7d98a9f50
commit
96253dd288
@ -28,4 +28,4 @@ runs:
|
||||
run: |
|
||||
TAG=$([ -n "${{inputs.tag}}" ] && echo "${{inputs.tag}}" || [ "$GITHUB_REF" == "refs/heads/develop" ] && echo "latest" || echo "$GITHUB_REF_NAME" | sed -E "s/[_/]/-/g")
|
||||
echo "${{inputs.registry_pass}}" | docker login -u "${{inputs.registry_user}}" --password-stdin "${{inputs.registry}}"
|
||||
docker push "${{inputs.image}}:$TAG"
|
||||
docker push "${{inputs.registry}}/${{inputs.image}}:$TAG"
|
||||
|
Loading…
Reference in New Issue
Block a user