Compare commits

...

4 Commits

Author SHA1 Message Date
8e9e70e8c5 Remove old grype version within image scan.
Some checks failed
Build startup image / Build-and-release-image (push) Failing after 22s
2025-09-16 10:20:06 +00:00
c9edd5fcb0 Use network mode host to build image.
Some checks failed
Build startup image / Build-and-release-image (push) Failing after 1m48s
2025-05-06 10:21:39 +00:00
f4d6fe6206 Use new registry url for base image.
All checks were successful
Build startup image / Build-and-release-image (push) Successful in 1m47s
2025-05-05 08:24:19 +00:00
57ff78b64a Schedule to 1am and use new build-push action.
Some checks failed
Build startup image / Build-and-release-image (push) Failing after 23s
2025-04-30 08:05:50 +00:00
2 changed files with 8 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ on:
branches: [ master ]
schedule:
# Run every Sunday at midnight
- cron: '0 0 * * 0'
- cron: '1 0 * * 0'
env:
IMAGE: /ri-st/startup
@@ -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

@@ -7,7 +7,7 @@ RUN composer install --no-dev --no-scripts --ignore-platform-reqs
RUN composer dumpautoload --optimize
#Use prebuilt image
FROM cs-git.ddnss.de/docker/nginx-fpm-8-4:latest AS final
FROM gitea.fam-steinle.de/docker/nginx-fpm-8-4:latest AS final
WORKDIR /var/www/html
USER root
COPY --from=composer-build /var/www/html /var/www/html