Fixy fixy
This commit is contained in:
parent
06b093362b
commit
d545d1e197
3 changed files with 5 additions and 4 deletions
5
.github/workflows/docker.build.yml
vendored
5
.github/workflows/docker.build.yml
vendored
|
@ -17,10 +17,11 @@ env:
|
|||
CANDIDATE_IMAGE: ghcr.io/benzine-framework/bouncer:build-${{ github.sha }}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
docker-build:
|
||||
name: Build Swarm Loadbalancer
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: benzine-framework/action-get-datetime@v1.0.2
|
||||
- uses: benzine-framework/action-setup-php@main
|
||||
- uses: benzine-framework/action-setup-docker@main
|
||||
with:
|
||||
|
@ -39,7 +40,7 @@ jobs:
|
|||
GIT_SHA=${{ github.sha }}
|
||||
GIT_BUILD_ID=${{ github.ref_name }}
|
||||
GIT_COMMIT_MESSAGE=${{ github.event.head_commit.message }}
|
||||
BUILD_DATE=${{ steps.date.outputs.container_build_datetime }}
|
||||
BUILD_DATE=${{ env.ATOM }}
|
||||
platforms: ${{ !env.ACT && env.PLATFORMS || 'linux/amd64' }}
|
||||
pull: true
|
||||
push: true
|
||||
|
|
|
@ -21,13 +21,13 @@ lint:
|
|||
- trufflehog # Trufflehog duplicates gitleaks functionality.
|
||||
- terrascan
|
||||
- trivy
|
||||
- git-diff-check
|
||||
enabled:
|
||||
- gitleaks@8.18.2
|
||||
- markdownlint@0.40.0
|
||||
- taplo@0.8.1
|
||||
- actionlint@1.7.0
|
||||
- checkov@3.2.92
|
||||
- git-diff-check
|
||||
- prettier@3.2.5
|
||||
- yamllint@1.35.1
|
||||
definitions:
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
$environment = array_merge($_ENV, $_SERVER);
|
||||
$site = $environment['SITE_NAME'] ?? 'unknown';
|
||||
$site = $environment['SITE_NAME'] ?? 'unknown';
|
||||
$server = $environment['SERVER_NAME'] ?? gethostname();
|
||||
printf('<h1>Website %s</h1><p>Running on %s</p>', $site, $server);
|
||||
|
|
Loading…
Reference in a new issue