diff --git a/.github/workflows/service_docker-build-and-publish.yml b/.github/workflows/service_docker-build-and-publish.yml index 7c3a36dd..190f5a16 100644 --- a/.github/workflows/service_docker-build-and-publish.yml +++ b/.github/workflows/service_docker-build-and-publish.yml @@ -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 ## @@ -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 @@ -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 }}