-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement dynamic Docker build strategy
A new strategy has been implemented for the Docker build using a matrix from a JSON file. This approach allows flexibility in defining the Docker image builds and pushes, as it moves their configuration into the separate JSON file. The configuration is read, set as an output for a new "config" job, and then used in the original build-and-push job.
- Loading branch information
1 parent
6b01561
commit 338aa05
Showing
2 changed files
with
33 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[ | ||
{ | ||
"name": "centos7-lts", | ||
"file": "Dockerfile.centos7", | ||
"tags": "getpagespeed/rhel:centos7-lts,getpagespeed/rhel:el7-lts" | ||
}, | ||
{ | ||
"name": "centos8-lts", | ||
"file": "Dockerfile.centos8", | ||
"tags": "getpagespeed/rhel:centos8-lts,getpagespeed/rhel:el8-lts" | ||
}, | ||
{ | ||
"name": "centos9-lts", | ||
"file": "Dockerfile.centos9", | ||
"tags": "getpagespeed/rhel:centos9-lts,getpagespeed/rhel:el9-lts" | ||
} | ||
] |