diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 13ad375..7a1d663 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -157,8 +157,8 @@ jobs: file: ./Dockerfile.prod # Chỉ định Dockerfile cho production push: true # Đẩy image lên registry tags: | # Đặt tên và tag cho image - ${{ gitea.server_url }}/${{ gitea.repository }}:${{ gitea.ref_name }} # Tag bằng commit SHA (duy nhất) - ${{ gitea.server_url }}/${{ gitea.repository }}:latest # Tag là latest + ${{ gitea.server_url }}/${{ gitea.repository }}:${{ gitea.ref_name }} + ${{ gitea.server_url }}/${{ gitea.repository }}:latest # cache-from: type=gha # Bật cache build layer (tùy chọn) # cache-to: type=gha,mode=max # ---- Job: Deploy to VPS ----