Update docker/push/action.yaml
This commit is contained in:
parent
f9f0845375
commit
75516540b6
@ -18,8 +18,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 Push
|
- name: Docker Push
|
||||||
uses: docker://docker
|
uses: docker://docker
|
||||||
with:
|
with:
|
||||||
entrypoint: docker
|
entrypoint: docker
|
||||||
args: push "${{inputs.registry}}/${{inputs.name}}:${{inputs.tag}}"
|
args: push "${{env.URL}}/${{inputs.name}}:${{inputs.tag}}"
|
||||||
|
Loading…
Reference in New Issue
Block a user