Compare commits

..

5 Commits

Author SHA1 Message Date
4c9d41c76c Remove fixed scan version.
All checks were successful
Build nginx fpm 8.2 image / Build-and-release-image (push) Successful in 1m37s
2025-11-07 07:34:40 +00:00
c08576b2dd Do not use latest alpine image.
Some checks failed
Build nginx fpm 8.2 image / Build-and-release-image (push) Failing after 1m10s
2025-05-14 06:07:22 +00:00
4feb0fc2f8 Use network mode host for build action.
All checks were successful
Build nginx fpm 8.2 image / Build-and-release-image (push) Successful in 1m1s
2025-05-06 09:39:40 +00:00
561841fba8 Use newer build push action.
All checks were successful
Build nginx fpm 8.2 image / Build-and-release-image (push) Successful in 1m12s
2025-04-29 07:58:57 +00:00
460d34325b Write serve path only once.
All checks were successful
Build nginx fpm 8.2 image / Build-and-release-image (push) Successful in 1m3s
2025-04-15 10:45:18 +02:00
3 changed files with 8 additions and 4 deletions

View File

@@ -21,6 +21,9 @@ jobs:
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
buildkitd-flags: '--allow-insecure-entitlement network.host'
driver-opts: network=host
- name: Login to Docker Hub
uses: docker/login-action@v3
@@ -49,10 +52,12 @@ jobs:
images: ${{ secrets.REGISTRY_URL }}${{ env.IMAGE }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
env:
ACTIONS_RUNTIME_TOKEN: ''
with:
allow: network.host
network: host
tags: ${{ vars.LOCAL_REGISTRY_URL }}${{ env.IMAGE }}:latest
push: true
@@ -66,7 +71,6 @@ jobs:
severity-cutoff: critical
registry-username: ${{ vars.LOCAL_REGISTRY_USER }}
registry-password: ${{ vars.LOCAL_REGISTRY_PASS }}
grype-version: 'v0.90.0'
- name: Inspect file
run: cat ${{ steps.scan.outputs.table }}

View File

@@ -1,4 +1,4 @@
FROM alpine:latest
FROM alpine:3.21
LABEL Maintainer="Christian Steinle <kontakt@steinle-computer.de>"
LABEL Description="Lightweight container with Nginx 1.22 & PHP 8.2 based on Alpine Linux."

View File

@@ -2,6 +2,6 @@
set -e
sed -i "s|/var/www/html|/var/www/html${SERVE_PATH}|g" /etc/nginx/nginx.conf
sed -i "s|/var/www/html;|/var/www/html${SERVE_PATH};|g" /etc/nginx/nginx.conf
/usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf