diff --git a/.github/workflows/production-build.yml b/.github/workflows/production-build.yml index 611ffac15..2b71b8573 100644 --- a/.github/workflows/production-build.yml +++ b/.github/workflows/production-build.yml @@ -19,22 +19,19 @@ jobs: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Sync configuration files to BunnyCDN - run: | - docker run --rm -v "$(pwd):/app" -w /app php:8.2-alpine3.16 php artisan app:sync-to-bunny-cdn --env=secrets - name: Get Version id: version run: | echo "VERSION=$(docker run --rm -v "$(pwd):/app" -w /app php:8.2-alpine3.16 php bootstrap/getVersion.php)"|xargs >> $GITHUB_OUTPUT - name: Build image and push to registry - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4 with: context: . file: docker/prod-ssu/Dockerfile platforms: linux/amd64 push: true tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.VERSION }} - # - uses: sarisia/actions-status-discord@v1 - # if: always() - # with: - # webhook: ${{ secrets.DISCORD_WEBHOOK_DEV_RELEASE_CHANNEL }} + - uses: sarisia/actions-status-discord@v1 + if: always() + with: + webhook: ${{ secrets.DISCORD_WEBHOOK_DEV_RELEASE_CHANNEL }} diff --git a/docker/builder/Dockerfile b/docker/builder/Dockerfile index 47039d419..aa7e9de1e 100644 --- a/docker/builder/Dockerfile +++ b/docker/builder/Dockerfile @@ -5,6 +5,7 @@ ARG TARGETPLATFORM ARG DOCKER_VERSION=23.0.5 # https://github.com/docker/compose/releases # Reverted to 2.6.1 because of this https://github.com/docker/compose/issues/9704. 2.9.0 still has a bug. +# Using the latest now ARG DOCKER_COMPOSE_VERSION=2.17.3 # https://github.com/buildpacks/pack/releases ARG PACK_VERSION=0.27.0