Test CI v2.1.51
Some checks failed
DNS & Network Test / network-test (push) Failing after 20s
Go CI Pipeline / Lint Code (push) Successful in 2m5s
Go CI Pipeline / Run Tests (push) Successful in 2m9s
Go CI Pipeline / Build Application (push) Successful in 2m12s
Go CI Pipeline / Build and Push Docker Image (push) Successful in 1m18s
Go CI Pipeline / Security Scan (SCA - govulncheck) (push) Successful in 4m4s
Go CI Pipeline / Deploy to VPS (push) Has been skipped

This commit is contained in:
phattt2901 2025-05-06 01:20:40 +07:00
parent 2e473936f7
commit ca9b784ac4

View File

@ -123,7 +123,7 @@ jobs:
needs: [build]
# Chỉ chạy khi push vào nhánh master (không chạy cho PR)
# Kiểm tra lại biến context của Gitea Actions, có thể là 'gitea.ref_name' hoặc 'github.ref_name'
if: gitea.ref_type == 'tag'
if: gitea.ref_name == 'master' || startsWith(gitea.ref_name, 'v')
steps:
- name: Checkout code # Cần checkout để lấy Dockerfile.prod
uses: actions/checkout@v4