更新 .gitea/workflows/main.yaml
Docker Deploy / build-and-deploy (push) Failing after 10s Details

This commit is contained in:
root 2024-07-06 23:41:34 +08:00
parent 846657c93e
commit ce454a5464
1 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ jobs:
# echo "Asia/Shanghai" > /etc/timezone
# apk del tzdata
echo "-----============$REGISTRY=========--------"
echo "-----============$REMOTE_IMG_NAME=========--------"
# - name: Set up Go
# uses: actions/setup-go@v4
# with:
@ -55,8 +55,8 @@ jobs:
push: true
context: . Dockerfile
tags: $IMG_NAME
# username: ${{ vars.ALI_USER }}
# password: ${{ vars.ALI_PWD }}
username: ${{ vars.ALI_USER }}
password: ${{ vars.ALI_PWD }}
- name: Run On Server
run: |
docker run -d --name $CTN_NAME -p $HOST_PORT:8080 $IMG_NAME