Test CI v2.1.49
Some checks failed
Go CI Pipeline / Security Scan (SCA - govulncheck) (push) Has been cancelled
Go CI Pipeline / Lint Code (push) Has been cancelled
Go CI Pipeline / Build Application (push) Successful in 1m1s
Go CI Pipeline / Build and Push Docker Image (push) Failing after 37s
Go CI Pipeline / Deploy to VPS (push) Has been skipped
Go CI Pipeline / Run Tests (push) Has been cancelled
DNS & Network Test / network-test (push) Failing after 4s

This commit is contained in:
phattt2901 2025-05-06 00:39:58 +07:00
parent 1b75b78d1c
commit 8146b5329a

View File

@ -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 ----