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

This commit is contained in:
root 2024-07-07 08:23:29 +08:00
parent 6e1b6eda39
commit b4037877a8
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ jobs:
push: true push: true
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: $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