From 75516540b6329c5659a3e2fb3af6f75307246cad Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Fri, 24 Nov 2023 03:36:57 +0000 Subject: [PATCH] Update docker/push/action.yaml --- docker/push/action.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/push/action.yaml b/docker/push/action.yaml index 28a0a22..331f401 100644 --- a/docker/push/action.yaml +++ b/docker/push/action.yaml @@ -18,8 +18,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 Push uses: docker://docker with: entrypoint: docker - args: push "${{inputs.registry}}/${{inputs.name}}:${{inputs.tag}}" + args: push "${{env.URL}}/${{inputs.name}}:${{inputs.tag}}"