Skip to content

Commit

Permalink
use php 8.1.24
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCARPi committed Oct 6, 2023
1 parent e623096 commit 76f5c0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ jobs:
# https://github.com/marketplace/actions/docker-setup-buildx
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
driver-opts: |
image=moby/buildkit:v0.10.6

# - name: Cache Docker layers
# uses: actions/cache@v3
Expand All @@ -41,6 +38,8 @@ jobs:
uses: docker/build-push-action@v4
with:
context: .
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64
push: true
tags: ghcr.io/deltablot/php-prod:8.1, ghcr.io/deltablot/php-prod:latest, ghcr.io/deltablot/php-prod:8
Expand All @@ -51,18 +50,7 @@ jobs:
with:
image-ref: deltablot/php-prod:latest
format: 'table'
# TMP IGNORED because of CVE-2023-23914
exit-code: '0'
ignore-unfixed: true
ignore-unfixed: false
vuln-type: 'os,library'
severity: 'CRITICAL'

# This ugly bit is necessary if you don't want your cache to grow forever
# till it hits GitHub's limit of 5GB.
# Temp fix
# https://github.com/docker/build-push-action/issues/252
# https://github.com/moby/buildkit/issues/1896
#- name: Move cache
# run: |
# rm -rf /tmp/.buildxy-cache
# mv /tmp/.buildxyz-cache-new /tmp/.buildxyz-cache
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# https://github.com/deltablot/php-prod
# License: MIT
FROM php:8.1.17-fpm-alpine
FROM php:8.1.24-fpm-alpine

# use default prod config
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
Expand Down

0 comments on commit 76f5c0b

Please sign in to comment.