Skip to content

Commit

Permalink
add php 8.4 rc
Browse files Browse the repository at this point in the history
  • Loading branch information
jkaninda committed Nov 16, 2024
1 parent 689105a commit 4b8ff5f
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 400 deletions.
30 changes: 22 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ on:
push:
branches:
- main

env:
BUILDKIT_IMAGE: jkaninda/nginx-php-fpm
jobs:
docker:
runs-on: ubuntu-latest
Expand All @@ -26,25 +23,42 @@ jobs:
name: Build and push 8.1
uses: docker/build-push-action@v3
with:
file: "./src/docker/8.1/Dockerfile"
file: "./src/docker/Dockerfile"
push: true
platforms: linux/amd64,linux/arm64
tags: "${{env.BUILDKIT_IMAGE}}:8.1"
build-args: |
phpVersion=8.1
tags: "${{ env.BUILDKIT_IMAGE }}:8.1"
-
name: Build and push 8.2
uses: docker/build-push-action@v3
with:
file: "./src/docker/8.2/Dockerfile"
file: "./src/docker/Dockerfile"
push: true
platforms: linux/amd64,linux/arm64
build-args: |
phpVersion=8.2
tags: "${{env.BUILDKIT_IMAGE}}:8.2"
-
name: Build and push 8.3
uses: docker/build-push-action@v3
with:
file: "./src/docker/8.3/Dockerfile"
file: "./src/docker/Dockerfile"
push: true
platforms: linux/amd64,linux/arm64
build-args: |
phpVersion=8.3
tags: |
"${{env.BUILDKIT_IMAGE}}:8.3"
"${{env.BUILDKIT_IMAGE}}:latest"
"${{env.BUILDKIT_IMAGE}}:latest"
-
name: Build and push 8.4 RC
uses: docker/build-push-action@v3
with:
file: "./src/docker/Dockerfile"
push: true
platforms: linux/amd64,linux/arm64
build-args: |
phpVersion=8.4.0RC4
tags: |
"${{env.BUILDKIT_IMAGE}}:8.4.0RC4"
File renamed without changes.
21 changes: 21 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
IMAGE_NAME?=jkaninda/nginx-php-fpm
.PHONY: all
all: build
##@ Build
.PHONY: build
build: build-81 build-82 build-83 build-84
.PHONY: build-80
build-80:
docker build --build-arg phpVersion=8.0 -f src/docker/8.0/Dockerfile -t ${IMAGE_NAME}:8.0 .
.PHONY: build-81
build-81:
docker build --build-arg phpVersion=8.1 -f src/docker/Dockerfile -t ${IMAGE_NAME}:8.1 .
.PHONY: build-82
build-82:
docker build --build-arg phpVersion=8.2 -f src/docker/Dockerfile -t ${IMAGE_NAME}:8.2 .
.PHONY: build-83
build-83:
docker build --build-arg phpVersion=8.3 -f src/docker/Dockerfile -t ${IMAGE_NAME}:8.3 .
.PHONY: build-84
build-84:
docker build --build-arg phpVersion=8.4.0RC4 -f src/docker/Dockerfile -t ${IMAGE_NAME}:8.4 .
125 changes: 0 additions & 125 deletions src/docker/8.1/Dockerfile

This file was deleted.

127 changes: 0 additions & 127 deletions src/docker/8.3/Dockerfile

This file was deleted.

Loading

0 comments on commit 4b8ff5f

Please sign in to comment.