Test CI v2.1.56
All checks were successful
Go CI Pipeline / Lint Code (push) Successful in 2m3s
Go CI Pipeline / Run Tests (push) Successful in 2m7s
Go CI Pipeline / Build Application (push) Successful in 2m7s
Go CI Pipeline / Security Scan (SCA - govulncheck) (push) Successful in 4m19s
Go CI Pipeline / Build and Push Docker Image (push) Successful in 2m39s
Go CI Pipeline / Deploy to VPS (push) Successful in 27s

This commit is contained in:
phattt2901 2025-05-06 02:26:24 +07:00
parent f4b124df0d
commit c833a7f4d2

View File

@ -149,7 +149,7 @@ jobs:
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: . # Build context là thư mục gốc context: . # Build context là thư mục gốc
file: ./Dockerfile.prod # Chỉ định Dockerfile cho production file: ./Dockerfile # Chỉ định Dockerfile cho production
push: true # Đẩy image lên registry push: true # Đẩy image lên registry
tags: | # Đặt tên và tag cho image tags: | # Đặt tên và tag cho image
${{ secrets.REGISTRY_URL }}/${{ gitea.repository }}:${{ gitea.ref_name }} ${{ secrets.REGISTRY_URL }}/${{ gitea.repository }}:${{ gitea.ref_name }}