Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/auto-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
-
name: Checkout Branch ${{ github.ref_name }}
uses: actions/checkout@v4
uses: actions/checkout@v6
-
name: Create Pull Request
run: gh pr create -B main --title "${{ github.ref_name }}" --body "Merging branch to create ${{ github.ref_name }}."
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
-
name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6
-
name: Get repository name
run: echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
Expand All @@ -43,12 +43,12 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Login to GitHub Container Registry
name: Login to Quay.io Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
registry: quay.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.QUAY_TOKEN }}
-
name: Build and export
id: docker_export
Expand Down Expand Up @@ -80,8 +80,8 @@ jobs:
tags: |
bfren/nginx-php:php${{ matrix.php }}-dev
bfren/nginx-php:php${{ matrix.php }}-${{ steps.version.outputs.contents }}-dev
ghcr.io/bfren/nginx-php:php${{ matrix.php }}-dev
ghcr.io/bfren/nginx-php:php${{ matrix.php }}-${{ steps.version.outputs.contents }}-dev
quay.io/bfren/nginx-php:php${{ matrix.php }}-dev
quay.io/bfren/nginx-php:php${{ matrix.php }}-${{ steps.version.outputs.contents }}-dev
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
20 changes: 10 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
-
name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6
-
name: Get repository name
run: echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
Expand Down Expand Up @@ -57,12 +57,12 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Login to GitHub Container Registry
name: Login to Quay.io Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
registry: quay.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.QUAY_TOKEN }}
-
name: Build and push
id: docker_build
Expand All @@ -83,12 +83,12 @@ jobs:
bfren/nginx-php:php${{ matrix.php }}-${{ steps.version.outputs.contents }}
bfren/nginx-php:php${{ steps.php_revision.outputs.contents }}
bfren/nginx-php:php${{ steps.php_revision.outputs.contents }}-${{ steps.version.outputs.contents }}
ghcr.io/bfren/nginx-php:php${{ matrix.php }}
ghcr.io/bfren/nginx-php:php${{ matrix.php }}-${{ steps.version_major.outputs.contents }}
ghcr.io/bfren/nginx-php:php${{ matrix.php }}-${{ steps.version_minor.outputs.contents }}
ghcr.io/bfren/nginx-php:php${{ matrix.php }}-${{ steps.version.outputs.contents }}
ghcr.io/bfren/nginx-php:php${{ steps.php_revision.outputs.contents }}
ghcr.io/bfren/nginx-php:php${{ steps.php_revision.outputs.contents }}-${{ steps.version.outputs.contents }}
quay.io/bfren/nginx-php:php${{ matrix.php }}
quay.io/bfren/nginx-php:php${{ matrix.php }}-${{ steps.version_major.outputs.contents }}
quay.io/bfren/nginx-php:php${{ matrix.php }}-${{ steps.version_minor.outputs.contents }}
quay.io/bfren/nginx-php:php${{ matrix.php }}-${{ steps.version.outputs.contents }}
quay.io/bfren/nginx-php:php${{ steps.php_revision.outputs.contents }}
quay.io/bfren/nginx-php:php${{ steps.php_revision.outputs.contents }}-${{ steps.version.outputs.contents }}
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
2 changes: 1 addition & 1 deletion .github/workflows/update-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
shell: bash
-
name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6
-
name: Login to DockerHub
uses: docker/login-action@v3
Expand Down
6 changes: 3 additions & 3 deletions 7.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# STAGE 0: get Nu scripts from the PHP image overlay
#======================================================================================================================

FROM ghcr.io/bfren/alpine AS php
FROM quay.io/bfren/alpine AS php

WORKDIR /tmp
RUN \
# get the Nu scripts from the PHP image overlay
echo "Cloning Alpine overlay." && \
apk add git && git clone --branch v2.4.7 https://github.com/bfren/docker-php.git && \
apk add git && git clone --branch v3.0.0 https://github.com/bfren/docker-php.git && \
mkdir /overlay && \
mv docker-php/overlay/etc /overlay/

Expand All @@ -17,7 +17,7 @@ RUN \
# STAGE 1: create final image
#======================================================================================================================

FROM ghcr.io/bfren/nginx:nginx1.20-alpine3.15-6.5.7 AS final
FROM quay.io/bfren/nginx:nginx1.20-alpine3.15-7.0.0 AS final
COPY --from=php /overlay /

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-nginx-php"
Expand Down
6 changes: 3 additions & 3 deletions 8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# STAGE 0: get Nu scripts from the PHP image overlay
#======================================================================================================================

FROM ghcr.io/bfren/alpine AS php
FROM quay.io/bfren/alpine AS php

WORKDIR /tmp
RUN \
# get the Nu scripts from the PHP image overlay
echo "Cloning Alpine overlay." && \
apk add git && git clone --branch v2.4.7 https://github.com/bfren/docker-php.git && \
apk add git && git clone --branch v3.0.0 https://github.com/bfren/docker-php.git && \
mkdir /overlay && \
mv docker-php/overlay/etc /overlay/

Expand All @@ -17,7 +17,7 @@ RUN \
# STAGE 1: create final image
#======================================================================================================================

FROM ghcr.io/bfren/nginx:nginx1.22-alpine3.16-6.5.7 AS final
FROM quay.io/bfren/nginx:nginx1.22-alpine3.16-7.0.0 AS final
COPY --from=php /overlay /

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-nginx-php"
Expand Down
6 changes: 3 additions & 3 deletions 8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# STAGE 0: get Nu scripts from the PHP image overlay
#======================================================================================================================

FROM ghcr.io/bfren/alpine AS php
FROM quay.io/bfren/alpine AS php

WORKDIR /tmp
RUN \
# get the Nu scripts from the PHP image overlay
echo "Cloning Alpine overlay." && \
apk add git && git clone --branch v2.4.7 https://github.com/bfren/docker-php.git && \
apk add git && git clone --branch v3.0.0 https://github.com/bfren/docker-php.git && \
mkdir /overlay && \
mv docker-php/overlay/etc /overlay/

Expand All @@ -17,7 +17,7 @@ RUN \
# STAGE 1: create final image
#======================================================================================================================

FROM ghcr.io/bfren/nginx:nginx1.24-alpine3.19-6.5.7 AS final
FROM quay.io/bfren/nginx:nginx1.24-alpine3.19-7.0.0 AS final
COPY --from=php /overlay /

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-nginx-php"
Expand Down
6 changes: 3 additions & 3 deletions 8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# STAGE 0: get Nu scripts from the PHP image overlay
#======================================================================================================================

FROM ghcr.io/bfren/alpine AS php
FROM quay.io/bfren/alpine AS php

WORKDIR /tmp
RUN \
# get the Nu scripts from the PHP image overlay
echo "Cloning Alpine overlay." && \
apk add git && git clone --branch v2.4.7 https://github.com/bfren/docker-php.git && \
apk add git && git clone --branch v3.0.0 https://github.com/bfren/docker-php.git && \
mkdir /overlay && \
mv docker-php/overlay/etc /overlay/

Expand All @@ -17,7 +17,7 @@ RUN \
# STAGE 1: create final image
#======================================================================================================================

FROM ghcr.io/bfren/nginx:nginx1.28-alpine3.22-6.5.7 AS final
FROM quay.io/bfren/nginx:nginx1.28-alpine3.22-7.0.0 AS final
COPY --from=php /overlay /

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-nginx-php"
Expand Down
6 changes: 3 additions & 3 deletions 8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# STAGE 0: get Nu scripts from the PHP image overlay
#======================================================================================================================

FROM ghcr.io/bfren/alpine AS php
FROM quay.io/bfren/alpine AS php

WORKDIR /tmp
RUN \
# get the Nu scripts from the PHP image overlay
echo "Cloning Alpine overlay." && \
apk add git && git clone --branch v2.4.7 https://github.com/bfren/docker-php.git && \
apk add git && git clone --branch v3.0.0 https://github.com/bfren/docker-php.git && \
mkdir /overlay && \
mv docker-php/overlay/etc /overlay/

Expand All @@ -17,7 +17,7 @@ RUN \
# STAGE 1: create final image
#======================================================================================================================

FROM ghcr.io/bfren/nginx:nginx1.28-alpine3.22-6.5.7 AS final
FROM quay.io/bfren/nginx:nginx1.28-alpine3.22-7.0.0 AS final
COPY --from=php /overlay /

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-nginx-php"
Expand Down
6 changes: 3 additions & 3 deletions 8.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# STAGE 0: get Nu scripts from the PHP image overlay
#======================================================================================================================

FROM ghcr.io/bfren/alpine AS php
FROM quay.io/bfren/alpine AS php

WORKDIR /tmp
RUN \
# get the Nu scripts from the PHP image overlay
echo "Cloning Alpine overlay." && \
apk add git && git clone --branch v2.4.7 https://github.com/bfren/docker-php.git && \
apk add git && git clone --branch v3.0.0 https://github.com/bfren/docker-php.git && \
mkdir /overlay && \
mv docker-php/overlay/etc /overlay/

Expand All @@ -17,7 +17,7 @@ RUN \
# STAGE 1: create final image
#======================================================================================================================

FROM ghcr.io/bfren/nginx:nginx1.28-alpine3.22-6.5.7 AS final
FROM quay.io/bfren/nginx:nginx1.28-alpine3.22-7.0.0 AS final
COPY --from=php /overlay /

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-nginx-php"
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.esh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# STAGE 0: get Nu scripts from the PHP image overlay
#======================================================================================================================

FROM ghcr.io/bfren/alpine AS php
FROM quay.io/bfren/alpine AS php

WORKDIR /tmp
RUN \
Expand All @@ -17,7 +17,7 @@ RUN \
# STAGE 1: create final image
#======================================================================================================================

FROM ghcr.io/bfren/nginx:<%= ${NGINX_BASE} %>-<%= ${BASE_VERSION} %> AS final
FROM quay.io/bfren/nginx:<%= ${NGINX_BASE} %>-<%= ${BASE_VERSION} %> AS final
COPY --from=php /overlay /

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-nginx-php"
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.5.3
8.0.0
2 changes: 1 addition & 1 deletion VERSION_MAJOR
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7
8
2 changes: 1 addition & 1 deletion VERSION_MINOR
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.5
8.0
4 changes: 2 additions & 2 deletions generate-dockerfiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -euo pipefail

docker pull bfren/alpine

BASE_VERSION="6.5.7"
PHP_BRANCH="v2.4.7"
BASE_VERSION="7.0.0"
PHP_BRANCH="v3.0.0"
PHP_VERSIONS="7.4 8.0 8.1 8.2 8.3 8.4"

for V in ${PHP_VERSIONS} ; do
Expand Down