fix bug
This commit is contained in:
parent
dd5f025bc4
commit
08b36b5dcb
10
action.yml
10
action.yml
@ -25,8 +25,8 @@ runs:
|
|||||||
with:
|
with:
|
||||||
entrypoint: "/bin/sh"
|
entrypoint: "/bin/sh"
|
||||||
args: |
|
args: |
|
||||||
-c 'docker build -t ${{ github.server_url/https:\/\// }}/${{github.repository}}:${{ github.ref_name }} . && \
|
-c 'docker build -t ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} . && \
|
||||||
echo ${{ github.server_url/https:\/\// }}/${{github.repository}}:${{ github.ref_name }}已经构建完了 && \
|
echo ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }}已经构建完了 && \
|
||||||
docker login ${{ github.server_url/https:\/\// }} -u ${{env.DOCKER_USER}} -p ${{env.DOCKER_PASS}} && \
|
docker login ${{env.DOCKER_REGISTRY}} -u ${{env.DOCKER_USER}} -p ${{env.DOCKER_PASS}} && \
|
||||||
docker push ${{ github.server_url/https:\/\// }}/${{github.repository}}:${{ github.ref_name }} && \
|
docker push ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} && \
|
||||||
echo ${{ github.server_url/https:\/\// }}/${{github.repository}}:${{ github.ref_name }}推送成功'
|
echo ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }}推送成功'
|
Loading…
Reference in New Issue
Block a user