Skip to content

Commit

Permalink
deprecate 7.4 and add 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Spirit-act authored Mar 31, 2023
1 parent a9f9952 commit fd2a7e3
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 36 deletions.
72 changes: 36 additions & 36 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
branches: [ master ]

jobs:
build-7_4-fpm-alpine:
build-8_0-fpm-alpine:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -20,13 +20,13 @@ jobs:
name: Build & push Docker image
with:
image: ${{ secrets.DOCKERHUB_USERNAME }}/php-pgsql-redis
tags: 7.4-fpm, 7.4-fpm-alpine, 7.4-fpm-alpine3.16
tags: 8.0-fpm, 8.0-fpm-alpine, 8.0-fpm-alpine3.16
registry: docker.io
dockerfile: 7.4/alpine/fpm/Dockerfile
dockerfile: 8.0/alpine/fpm/Dockerfile
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

build-7_4-fpm-bullseye:
build-8_0-fpm-bullseye:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -36,13 +36,13 @@ jobs:
name: Build & push Docker image
with:
image: ${{ secrets.DOCKERHUB_USERNAME }}/php-pgsql-redis
tags: 7.4-fpm-bullseye
tags: 8.0-fpm-bullseye
registry: docker.io
dockerfile: 7.4/bullseye/fpm/Dockerfile
dockerfile: 8.0/bullseye/fpm/Dockerfile
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

build-7_4-cli-alpine:
build-8_0-cli-alpine:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -52,13 +52,13 @@ jobs:
name: Build & push Docker image
with:
image: ${{ secrets.DOCKERHUB_USERNAME }}/php-pgsql-redis
tags: 7.4-cli, 7.4-cli-alpine, 7.4-cli-alpine3.16
tags: 8.0-cli, 8.0-cli-alpine, 8.0-cli-alpine3.16
registry: docker.io
dockerfile: 7.4/alpine/cli/Dockerfile
dockerfile: 8.0/alpine/cli/Dockerfile
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

build-7_4-cli-bullseye:
build-8_0-cli-bullseye:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -68,13 +68,13 @@ jobs:
name: Build & push Docker image
with:
image: ${{ secrets.DOCKERHUB_USERNAME }}/php-pgsql-redis
tags: 7.4-cli-bullseye
tags: 8.0-cli-bullseye
registry: docker.io
dockerfile: 7.4/bullseye/cli/Dockerfile
dockerfile: 8.0/bullseye/cli/Dockerfile
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

build-8_0-fpm-alpine:
build-8_1-fpm-alpine:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -84,13 +84,13 @@ jobs:
name: Build & push Docker image
with:
image: ${{ secrets.DOCKERHUB_USERNAME }}/php-pgsql-redis
tags: 8.0-fpm, 8.0-fpm-alpine, 8.0-fpm-alpine3.16
tags: 8.1-fpm, 8.1-fpm-alpine, 8.1-fpm-alpine3.17
registry: docker.io
dockerfile: 8.0/alpine/fpm/Dockerfile
dockerfile: 8.1/alpine/fpm/Dockerfile
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

build-8_0-fpm-bullseye:
build-8_1-fpm-bullseye:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -100,13 +100,13 @@ jobs:
name: Build & push Docker image
with:
image: ${{ secrets.DOCKERHUB_USERNAME }}/php-pgsql-redis
tags: 8.0-fpm-bullseye
tags: 8.1-fpm-bullseye
registry: docker.io
dockerfile: 8.0/bullseye/fpm/Dockerfile
dockerfile: 8.1/bullseye/fpm/Dockerfile
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

build-8_0-cli-alpine:
build-8_1-cli-alpine:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -116,13 +116,13 @@ jobs:
name: Build & push Docker image
with:
image: ${{ secrets.DOCKERHUB_USERNAME }}/php-pgsql-redis
tags: 8.0-cli, 8.0-cli-alpine, 8.0-cli-alpine3.16
tags: 8.1-cli, 8.1-cli-alpine, 8.1-cli-alpine3.17
registry: docker.io
dockerfile: 8.0/alpine/cli/Dockerfile
dockerfile: 8.1/alpine/cli/Dockerfile
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

build-8_0-cli-bullseye:
build-8_1-cli-bullseye:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -132,13 +132,13 @@ jobs:
name: Build & push Docker image
with:
image: ${{ secrets.DOCKERHUB_USERNAME }}/php-pgsql-redis
tags: 8.0-cli-bullseye
tags: 8.1-cli-bullseye
registry: docker.io
dockerfile: 8.0/bullseye/cli/Dockerfile
dockerfile: 8.1/bullseye/cli/Dockerfile
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

build-8_1-fpm-alpine:
build-8_2-fpm-alpine:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -148,13 +148,13 @@ jobs:
name: Build & push Docker image
with:
image: ${{ secrets.DOCKERHUB_USERNAME }}/php-pgsql-redis
tags: 8.1-fpm, 8.1-fpm-alpine, 8.1-fpm-alpine3.17
tags: 8.2-fpm, 8.2-fpm-alpine, 8.2-fpm-alpine3.17
registry: docker.io
dockerfile: 8.1/alpine/fpm/Dockerfile
dockerfile: 8.2/alpine/fpm/Dockerfile
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

build-8_1-fpm-bullseye:
build-8_2-fpm-bullseye:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -164,13 +164,13 @@ jobs:
name: Build & push Docker image
with:
image: ${{ secrets.DOCKERHUB_USERNAME }}/php-pgsql-redis
tags: 8.1-fpm-bullseye
tags: 8.2-fpm-bullseye
registry: docker.io
dockerfile: 8.1/bullseye/fpm/Dockerfile
dockerfile: 8.2/bullseye/fpm/Dockerfile
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

build-8_1-cli-alpine:
build-8_2-cli-alpine:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -180,13 +180,13 @@ jobs:
name: Build & push Docker image
with:
image: ${{ secrets.DOCKERHUB_USERNAME }}/php-pgsql-redis
tags: 8.1-cli, 8.1-cli-alpine, 8.1-cli-alpine3.17
tags: 8.2-cli, 8.2-cli-alpine, 8.2-cli-alpine3.17
registry: docker.io
dockerfile: 8.1/alpine/cli/Dockerfile
dockerfile: 8.2/alpine/cli/Dockerfile
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

build-8_1-cli-bullseye:
build-8_2-cli-bullseye:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -196,8 +196,8 @@ jobs:
name: Build & push Docker image
with:
image: ${{ secrets.DOCKERHUB_USERNAME }}/php-pgsql-redis
tags: 8.1-cli-bullseye
tags: 8.2-cli-bullseye
registry: docker.io
dockerfile: 8.1/bullseye/cli/Dockerfile
dockerfile: 8.2/bullseye/cli/Dockerfile
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
7 changes: 7 additions & 0 deletions 8.2/alpine/cli/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM spiritact/php-pgsql:8.2-cli-alpine3.17

RUN apk add --no-cache --virtual .build-deps autoconf g++ make

RUN pecl install redis && docker-php-ext-enable redis

RUN apk del .build-deps && rm -rf /tmp/* /var/vcache/apk/*
7 changes: 7 additions & 0 deletions 8.2/alpine/fpm/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM spiritact/php-pgsql:8.2-fpm-alpine3.17

RUN apk add --no-cache --virtual .build-deps autoconf g++ make

RUN pecl install redis && docker-php-ext-enable redis

RUN apk del .build-deps && rm -rf /tmp/* /var/vcache/apk/*
3 changes: 3 additions & 0 deletions 8.2/bullseye/cli/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM spiritact/php-pgsql:8.2-cli-bullseye

RUN pecl install redis && docker-php-ext-enable redis
3 changes: 3 additions & 0 deletions 8.2/bullseye/fpm/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM spiritact/php-pgsql:8.2-fpm-bullseye

RUN pecl install redis && docker-php-ext-enable redis

0 comments on commit fd2a7e3

Please sign in to comment.