Update docker/push/action.yaml

This commit is contained in:
Zakary Timson 2023-08-07 14:01:41 +00:00
parent e230fc8e79
commit 18afd2258e

View File

@ -22,8 +22,8 @@ inputs:
runs: runs:
using: composite using: composite
container: docker
steps: steps:
- name: Push image - name: Push image
run: | run: |
TAG=$([ -n "${{inputs.tag}}" ] && echo "${{inputs.tag}}" || [ "$GITHUB_REF" == "refs/heads/develop" ] && echo "latest" || echo "$GITHUB_REF_NAME" | sed -E "s/[_/]/-/g") TAG=$([ -n "${{inputs.tag}}" ] && echo "${{inputs.tag}}" || [ "$GITHUB_REF" == "refs/heads/develop" ] && echo "latest" || echo "$GITHUB_REF_NAME" | sed -E "s/[_/]/-/g")