diff --git a/.github/workflows/devel-8.1.yml b/.github/workflows/devel-8.1.yml index 49839e2..8eb13b1 100644 --- a/.github/workflows/devel-8.1.yml +++ b/.github/workflows/devel-8.1.yml @@ -15,7 +15,7 @@ on: jobs: php: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: build: @@ -38,28 +38,30 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache - key: 8.1-fpm-${{ matrix.arch }}-buildx-${{ github.sha }} + key: 8.1-fpm-${{ matrix.arch }}-buildx-${{ hashFiles('8.1-fpm/**') }} restore-keys: | + 8.1-fpm-${{ matrix.arch }}-buildx-${{ hashFiles('8.1-fpm/**') }} 8.1-fpm-${{ matrix.arch }}-buildx- - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build and Test - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: push: false + provenance: false context: . platforms: ${{ matrix.arch }} file: 8.1-fpm/Dockerfile diff --git a/.github/workflows/devel-8.2.yml b/.github/workflows/devel-8.2.yml index e7fd336..ab8527e 100644 --- a/.github/workflows/devel-8.2.yml +++ b/.github/workflows/devel-8.2.yml @@ -38,28 +38,30 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: 8.2-fpm-${{ matrix.arch }}-buildx-${{ hashFiles('8.2-fpm/**') }} restore-keys: | + 8.2-fpm-${{ matrix.arch }}-buildx-${{ hashFiles('8.2-fpm/**') }} 8.2-fpm-${{ matrix.arch }}-buildx- - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build and Test - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: push: false + provenance: false context: . platforms: ${{ matrix.arch }} file: 8.2-fpm/Dockerfile diff --git a/.github/workflows/devel-8.3.yml b/.github/workflows/devel-8.3.yml index 6f8ff14..1338596 100644 --- a/.github/workflows/devel-8.3.yml +++ b/.github/workflows/devel-8.3.yml @@ -5,15 +5,17 @@ on: - master paths: - 8.3-fpm/** + - .github/workflows/devel-8.3.yml push: branches: - master paths: - 8.3-fpm/** + - .github/workflows/devel-8.3.yml jobs: php: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: build: @@ -36,28 +38,30 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache - key: 8.3-fpm-${{ matrix.arch }}-buildx-${{ github.sha }} + key: 8.3-fpm-${{ matrix.arch }}-buildx-${{ hashFiles('8.3-fpm/**') }} restore-keys: | + 8.3-fpm-${{ matrix.arch }}-buildx-${{ hashFiles('8.3-fpm/**') }} 8.3-fpm-${{ matrix.arch }}-buildx- - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build and Test - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: push: false + provenance: false context: . platforms: ${{ matrix.arch }} file: 8.3-fpm/Dockerfile diff --git a/.github/workflows/release-8.1.yml b/.github/workflows/release-8.1.yml index 8280379..e163a5d 100644 --- a/.github/workflows/release-8.1.yml +++ b/.github/workflows/release-8.1.yml @@ -7,7 +7,7 @@ on: jobs: docker-build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: build: @@ -31,14 +31,14 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: joseluisq/php-fpm flavor: | @@ -47,18 +47,19 @@ jobs: type=semver,pattern={{major}}.{{minor}}-${{ matrix.build }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: push: true + provenance: false context: . platforms: ${{ matrix.arch }} file: 8.1-fpm/Dockerfile @@ -66,7 +67,7 @@ jobs: docker-manifest: needs: docker-build - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Set envs run: | @@ -77,7 +78,7 @@ jobs: echo "SEMVER_MINOR=${SEMVER%.*}" >> $GITHUB_ENV - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} diff --git a/.github/workflows/release-8.2.yml b/.github/workflows/release-8.2.yml index f4c3a04..f52394d 100644 --- a/.github/workflows/release-8.2.yml +++ b/.github/workflows/release-8.2.yml @@ -31,14 +31,14 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: joseluisq/php-fpm flavor: | @@ -47,18 +47,19 @@ jobs: type=semver,pattern={{major}}.{{minor}}-${{ matrix.build }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: push: true + provenance: false context: . platforms: ${{ matrix.arch }} file: 8.2-fpm/Dockerfile @@ -77,7 +78,7 @@ jobs: echo "SEMVER_MINOR=${SEMVER%.*}" >> $GITHUB_ENV - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} diff --git a/.github/workflows/release-8.3.yml b/.github/workflows/release-8.3.yml index 5a23858..769e7d9 100644 --- a/.github/workflows/release-8.3.yml +++ b/.github/workflows/release-8.3.yml @@ -7,7 +7,7 @@ on: jobs: docker-build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: build: @@ -31,14 +31,14 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: joseluisq/php-fpm flavor: | @@ -47,18 +47,19 @@ jobs: type=semver,pattern={{major}}.{{minor}}-${{ matrix.build }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: push: true + provenance: false context: . platforms: ${{ matrix.arch }} file: 8.3-fpm/Dockerfile @@ -66,7 +67,7 @@ jobs: docker-manifest: needs: docker-build - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Set envs run: | @@ -77,7 +78,7 @@ jobs: echo "SEMVER_MINOR=${SEMVER%.*}" >> $GITHUB_ENV - name: Login to DockerHub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }}