Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions .github/workflows/service_docker-build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ jobs:
- name: Move PHP Versions file
run: mv ./artifacts/php-versions.yml ${{ inputs.php-versions-file }}

- name: Set up Depot CLI
uses: depot/setup-action@v1

##
# Docker build & publish
##
Expand All @@ -111,12 +114,6 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: "📦 Assemble the Docker Tags"
run: |
chmod +x ./scripts/assemble-docker-tags.sh
Expand Down Expand Up @@ -167,11 +164,11 @@ jobs:
echo "nginx_arg=NGINX_VERSION=$VERSION" >> $GITHUB_OUTPUT

- name: Build images
uses: docker/build-push-action@v6
uses: depot/build-push-action@v1
with:
project: ${{ secrets.DEPOT_PROJECT_ID }}
token: ${{ secrets.DEPOT_PROJECT_TOKEN }}
file: src/variations/${{ matrix.php_variation }}/Dockerfile
cache-from: type=gha
cache-to: type=gha
build-args: |
BASE_OS_VERSION=${{ matrix.base_os }}
PHP_VERSION=${{ matrix.patch_version }}
Expand Down
Loading