Update docker/build/action.yaml

This commit is contained in:
Zakary Timson 2023-08-07 14:01:21 +00:00
parent 2664aefbd3
commit e230fc8e79

View File

@ -15,8 +15,8 @@ inputs:
runs: runs:
using: composite using: composite
container: docker
steps: steps:
- name: Build image - name: Build 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")