更新 .gitea/workflows/pms.yaml
Docker Deploy / build-and-deploy (push) Failing after 19s
Details
Docker Deploy / build-and-deploy (push) Failing after 19s
Details
This commit is contained in:
parent
260fe66bd8
commit
547d9aedf5
|
@ -48,15 +48,18 @@ jobs:
|
|||
uses: http://${{vars.DOMAIN}}:5678/docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
context: ./cicd
|
||||
context: ../../server
|
||||
dockerfile: Dockerfile
|
||||
#tags: ${{ vars.ALI_REGISTRY }}/${{ github.repository }}:${{ github.ref_name }}
|
||||
tags: ${{env.REMOTE_IMG_NAME}} #支持env变量
|
||||
username: ${{ secrets.ALI_USER }}
|
||||
password: ${{ secrets.ALI_PWD }}
|
||||
|
||||
- name: Run On Server
|
||||
run: |
|
||||
docker run -d --name $CTN_NAME -p $HOST_PORT:8080 $REMOTE_IMG_NAME
|
||||
|
||||
|
||||
# - name: SSH Deploy
|
||||
# uses: easingthemes/ssh-deploy-action@v2.1.5
|
||||
# env:
|
||||
|
|
Loading…
Reference in New Issue