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

This commit is contained in:
root 2024-07-06 23:15:55 +08:00
parent 326d125e91
commit d8ee3b9107
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ jobs:
runs-on: runner runs-on: runner
env: env:
HOST_PORT: 8080 HOST_PORT: 8080
REGISTRY: "${{REGISTRY}}" ALI_REGISTRY: "${{REGISTRY}}"
REPO: "${{REPO}}" REPO: "${{REPO}}"
CTN_NAME: "ctn-pms-demo" CTN_NAME: "ctn-pms-demo"
IMG_NAME: "${{ github.repository }}:${{ github.ref_name }}" IMG_NAME: "${{ github.repository }}:${{ github.ref_name }}"
@ -38,7 +38,7 @@ jobs:
- name: Login to Alibaba Cloud Docker Registry - name: Login to Alibaba Cloud Docker Registry
uses: http://${{vars.DOMAIN}}:5678/docker/login-action@v3 uses: http://${{vars.DOMAIN}}:5678/docker/login-action@v3
with: with:
registry: $REGISTRY registry: $ALI_REGISTRY
username: ${{ vars.DOCKER_USERNAME }} username: ${{ vars.DOCKER_USERNAME }}
password: ${{ vars.DOCKER_TOKEN }} password: ${{ vars.DOCKER_TOKEN }}