From f9f084537553efaa9d9731fb354ea73b1e5deba7 Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Fri, 24 Nov 2023 03:25:21 +0000 Subject: [PATCH] Update docker/build/action.yaml --- docker/build/action.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/build/action.yaml b/docker/build/action.yaml index a2e32f8..6ed5593 100644 --- a/docker/build/action.yaml +++ b/docker/build/action.yaml @@ -22,8 +22,11 @@ inputs: runs: using: composite 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 uses: docker://docker with: 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}} .