Skip to content

Commit

Permalink
Add legacy PHP7.4 support - for limited time
Browse files Browse the repository at this point in the history
  • Loading branch information
xZero707 committed Aug 28, 2023
1 parent a5e67d5 commit 473c83d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion build/docker-bake.hcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group "default" {
targets = ["1_0_0"]
targets = ["1_0_0", "1_0_0_PHP7_4"]
}

target "build-dockerfile" {
Expand Down Expand Up @@ -68,6 +68,15 @@ function "get-tags" {
# Define the build targets
##########################


target "1_0_0_PHP7_4" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = get-cache-from("1.0.0-PHP7.4")
cache-to = get-cache-to("1.0.0-PHP7.4")
tags = get-tags("1.0.0-PHP7.4", ["PHP7.4", "1-PHP7.4", "1.0-PHP7.4", "latest-PHP7.4"])
args = get-args("6.1.1", "7.4")
}

target "1_0_0" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = get-cache-from("1.0.0")
Expand Down

0 comments on commit 473c83d

Please sign in to comment.