Test CI v2.1.47
Some checks failed
Go CI Pipeline / Lint Code (push) Successful in 2m33s
Go CI Pipeline / Run Tests (push) Successful in 5m17s
Go CI Pipeline / Security Scan (SCA - govulncheck) (push) Successful in 3m47s
Go CI Pipeline / Build and Push Docker Image (push) Failing after 41s
Go CI Pipeline / Deploy to VPS (push) Has been skipped
DNS & Network Test / network-test (push) Failing after 3s
Go CI Pipeline / Build Application (push) Successful in 1m36s
Some checks failed
Go CI Pipeline / Lint Code (push) Successful in 2m33s
Go CI Pipeline / Run Tests (push) Successful in 5m17s
Go CI Pipeline / Security Scan (SCA - govulncheck) (push) Successful in 3m47s
Go CI Pipeline / Build and Push Docker Image (push) Failing after 41s
Go CI Pipeline / Deploy to VPS (push) Has been skipped
DNS & Network Test / network-test (push) Failing after 3s
Go CI Pipeline / Build Application (push) Successful in 1m36s
This commit is contained in:
parent
82c29ad733
commit
44f658063e
@ -117,9 +117,6 @@ jobs:
|
||||
docker-build-push:
|
||||
name: Build and Push Docker Image
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: docker:24.0.5-cli
|
||||
options: --privileged
|
||||
# Chạy sau khi job 'build' (tạo binary) thành công
|
||||
needs: [build]
|
||||
# Chỉ chạy khi push vào nhánh master (không chạy cho PR)
|
||||
@ -135,6 +132,12 @@ jobs:
|
||||
name: server-binary # Tên artifact đã upload ở job build
|
||||
path: ./bin # Giải nén vào thư mục ./bin
|
||||
|
||||
- name: Cài Docker CLI
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y docker.io
|
||||
docker version
|
||||
|
||||
- name: Set up Docker Buildx # Công cụ build image nâng cao
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user