perf: 使用单独 health 接口判断 nginx 健康 #95
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Run Build Test" | |
on: | |
push: | |
branches: | |
- pr@* | |
- repr@* | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: | | |
sed -i '[email protected]/@@g' Dockerfile | |
- uses: docker/setup-qemu-action@v2 | |
- uses: docker/setup-buildx-action@v2 | |
- uses: docker/build-push-action@v3 | |
with: | |
context: . | |
push: false | |
tags: jumpserver/web:test | |
build-args: | | |
VERSION=dev | |
APT_MIRROR=http://deb.debian.org | |
file: Dockerfile | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
- uses: LouisBrunner/[email protected] | |
if: always() | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
name: Check Build | |
conclusion: ${{ job.status }} |