Update docker/build/action.yaml

This commit is contained in:
Zakary Timson 2023-11-24 03:25:21 +00:00
parent 78aca10860
commit f9f0845375

View File

@ -22,8 +22,11 @@ inputs:
runs: runs:
using: composite using: composite
steps: steps:
- name: Creat Image Tag
run: echo "URL=$(echo ${{github.server_url}} | sed s%http://%% | sed s%https://%% )" >> $GITHUB_ENV
shell: sh
- name: Docker Build - name: Docker Build
uses: docker://docker uses: docker://docker
with: with:
entrypoint: docker entrypoint: docker
args: build -t "${{inputs.registry}}/${{inputs.name}}:${{inputs.tag}}" -f ${{inputs.dockerfile}} . args: build -t "${{env.URL}}/${{inputs.name}}:${{inputs.tag}}" -f ${{inputs.dockerfile}} .