-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #321 from docksal/develop
Release 3.8.0
- Loading branch information
Showing
13 changed files
with
124 additions
and
99 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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
name: Docker Build and Push | ||
name: Build, Test, Push | ||
|
||
on: | ||
schedule: | ||
- cron: '0 10 * * 0' # Every Sunday at 10AM | ||
- cron: "0 10 * * 0" # Every Sunday at 10AM | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
- feature/* | ||
tags: | ||
- 'v*.*.*' | ||
- "v*.*.*" | ||
workflow_dispatch: # Allow manually triggering a build | ||
|
||
defaults: | ||
|
@@ -19,7 +19,7 @@ defaults: | |
env: | ||
IMAGE: docksal/cli | ||
UPSTREAM_IMAGE: debian | ||
LATEST_VERSION: '8.2' | ||
LATEST_VERSION: "8.3" | ||
DOCKSAL_VERSION: develop | ||
|
||
jobs: | ||
|
@@ -34,27 +34,27 @@ jobs: | |
- | ||
platform: linux/amd64 | ||
arch: amd64 | ||
version: '8.1' | ||
version: "8.1" | ||
- | ||
platform: linux/amd64 | ||
arch: amd64 | ||
version: '8.2' | ||
version: "8.2" | ||
- | ||
platform: linux/amd64 | ||
arch: amd64 | ||
version: '8.3' | ||
version: "8.3" | ||
- | ||
platform: linux/arm64 | ||
arch: arm64 | ||
version: '8.1' | ||
version: "8.1" | ||
- | ||
platform: linux/arm64 | ||
arch: arm64 | ||
version: '8.2' | ||
version: "8.2" | ||
- | ||
platform: linux/arm64 | ||
arch: arm64 | ||
version: '8.3' | ||
version: "8.3" | ||
|
||
env: | ||
ARCH: ${{ matrix.arch }} | ||
|
@@ -76,9 +76,10 @@ jobs: | |
echo ARM64_HOST_SSH_CERT="$(ssh-keyscan -t rsa ${{ secrets.ARM64_HOST }} 2>/dev/null)" | tee -a ${GITHUB_ENV} | ||
- | ||
# Switch docker context to a remote arm64 host | ||
# Used for building heavy images that take too long to build using QEMU + for native arm64 testing. | ||
name: Switch to arm64 builder host | ||
if: ${{ env.ARCH == 'arm64' }} | ||
uses: arwynfr/actions-docker-context@v2 | ||
uses: docksal/actions/docker-context@main | ||
with: | ||
docker_host: "ssh://build-agent@${{ secrets.ARM64_HOST }}" | ||
context_name: arm64-host | ||
|
@@ -123,27 +124,27 @@ jobs: | |
- | ||
platform: linux/amd64 | ||
arch: amd64 | ||
version: '8.1' | ||
version: "8.1" | ||
- | ||
platform: linux/amd64 | ||
arch: amd64 | ||
version: '8.2' | ||
version: "8.2" | ||
- | ||
platform: linux/amd64 | ||
arch: amd64 | ||
version: '8.3' | ||
version: "8.3" | ||
- | ||
platform: linux/arm64 | ||
arch: arm64 | ||
version: '8.1' | ||
version: "8.1" | ||
- | ||
platform: linux/arm64 | ||
arch: arm64 | ||
version: '8.2' | ||
version: "8.2" | ||
- | ||
platform: linux/arm64 | ||
arch: arm64 | ||
version: '8.3' | ||
version: "8.3" | ||
|
||
env: | ||
ARCH: ${{ matrix.arch }} | ||
|
@@ -153,9 +154,7 @@ jobs: | |
steps: | ||
- | ||
name: Setup Bats | ||
uses: mig4/setup-bats@v1 | ||
with: | ||
bats-version: '1.3.0' | ||
uses: bats-core/[email protected] | ||
- | ||
name: Checkout | ||
uses: actions/checkout@v4 | ||
|
@@ -170,9 +169,10 @@ jobs: | |
echo ARM64_HOST_SSH_CERT="$(ssh-keyscan -t rsa ${{ secrets.ARM64_HOST }} 2>/dev/null)" | tee -a ${GITHUB_ENV} | ||
- | ||
# Switch docker context to a remote arm64 host | ||
# Used for building heavy images that take too long to build using QEMU + for native arm64 testing. | ||
name: Switch to arm64 builder host | ||
if: ${{ env.ARCH == 'arm64' }} | ||
uses: arwynfr/actions-docker-context@v2 | ||
uses: docksal/actions/docker-context@main | ||
with: | ||
docker_host: "ssh://build-agent@${{ secrets.ARM64_HOST }}" | ||
context_name: arm64-host | ||
|
@@ -219,9 +219,9 @@ jobs: | |
strategy: | ||
matrix: | ||
version: | ||
- '8.1' | ||
- '8.2' | ||
- '8.3' | ||
- "8.1" | ||
- "8.2" | ||
- "8.3" | ||
|
||
env: | ||
VERSION_PREFIX: php | ||
|
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
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
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
Oops, something went wrong.