更新 .gitea/workflows/main.yaml
Docker Deploy / build-and-deploy (push) Successful in 1m55s Details

This commit is contained in:
root 2024-07-07 08:27:53 +08:00
parent b4037877a8
commit af174c9d76
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ jobs:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
#tags: ${{ vars.ALI_REGISTRY }}/${{ github.repository }}:${{ github.ref_name }} #tags: ${{ vars.ALI_REGISTRY }}/${{ github.repository }}:${{ github.ref_name }}
tags: "${{env.REMOTE_IMG_NAME}}" #不支持env变量 tags: ${{env.REMOTE_IMG_NAME}} #支持env变量
username: ${{ vars.ALI_USER }} username: ${{ vars.ALI_USER }}
password: ${{ vars.ALI_PWD }} password: ${{ vars.ALI_PWD }}
- name: Run On Server - name: Run On Server