deps(patch): update docker digests #207
Workflow file for this run
This file contains hidden or 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
| --- | |
| # yaml-language-server: $schema=https://www.schemastore.org/github-workflow.json | |
| name: v8.4 | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| "on": | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - v8.4/* | |
| - .github/workflows/v8.4.yml | |
| pull_request: | |
| branches: | |
| - master | |
| paths: | |
| - v8.4/* | |
| - .github/workflows/v8.4.yml | |
| permissions: | |
| contents: read | |
| packages: write | |
| jobs: | |
| docker: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| variant: | |
| - arch: amd64 | |
| platform: linux/amd64 | |
| - arch: arm64 | |
| platform: linux/arm64 | |
| - arch: arm | |
| platform: linux/arm/v6 | |
| steps: | |
| - name: Checkout source | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 | |
| - name: Docker meta | |
| id: meta | |
| uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| images: | | |
| webhippie/php-caddy | |
| quay.io/webhippie/php-caddy | |
| ghcr.io/dockhippie/php-caddy | |
| labels: | | |
| org.opencontainers.image.vendor=Webhippie | |
| maintainer=Thomas Boerger <thomas@webhippie.de> | |
| - name: Setup QEMU | |
| uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3 | |
| - name: Setup Buildx | |
| id: buildx | |
| uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3 | |
| - name: Hub login | |
| uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3 | |
| if: github.event_name != 'pull_request' | |
| with: | |
| username: ${{ secrets.DOCKER_USERNAME }} | |
| password: ${{ secrets.DOCKER_PASSWORD }} | |
| - name: Quay login | |
| uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3 | |
| if: github.event_name != 'pull_request' | |
| with: | |
| registry: quay.io | |
| username: ${{ secrets.QUAY_USERNAME }} | |
| password: ${{ secrets.QUAY_PASSWORD }} | |
| - name: Ghcr login | |
| uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3 | |
| if: github.event_name != 'pull_request' | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build image | |
| uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6 | |
| with: | |
| builder: ${{ steps.buildx.outputs.name }} | |
| context: v8.4/ | |
| provenance: false | |
| file: v8.4/Dockerfile.${{ matrix.variant.arch }} | |
| platforms: ${{ matrix.variant.platform }} | |
| push: ${{ github.event_name != 'pull_request' }} | |
| labels: ${{ steps.meta.outputs.labels }} | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max | |
| tags: | | |
| webhippie/php-caddy:8.4-${{ matrix.variant.arch }} | |
| quay.io/webhippie/php-caddy:8.4-${{ matrix.variant.arch }} | |
| ghcr.io/dockhippie/php-caddy:8.4-${{ matrix.variant.arch }} | |
| manifest: | |
| runs-on: ubuntu-latest | |
| if: github.event_name != 'pull_request' | |
| needs: | |
| - docker | |
| steps: | |
| - name: Wait something | |
| run: sleep 60 | |
| - name: Hub manifest | |
| uses: actionhippie/manifest@b9a6c7fed4717b123ad2b73b678cd9fc3dd7372d # v1 | |
| with: | |
| username: ${{ secrets.DOCKER_USERNAME }} | |
| password: ${{ secrets.DOCKER_PASSWORD }} | |
| platforms: linux/amd64,linux/arm64,linux/arm/v6 | |
| template: webhippie/php-caddy:8.4-ARCH | |
| target: webhippie/php-caddy:8.4 | |
| ignore_missing: true | |
| - name: Quay manifest | |
| uses: actionhippie/manifest@b9a6c7fed4717b123ad2b73b678cd9fc3dd7372d # v1 | |
| with: | |
| username: ${{ secrets.QUAY_USERNAME }} | |
| password: ${{ secrets.QUAY_PASSWORD }} | |
| platforms: linux/amd64,linux/arm64,linux/arm/v6 | |
| template: quay.io/webhippie/php-caddy:8.4-ARCH | |
| target: quay.io/webhippie/php-caddy:8.4 | |
| ignore_missing: true | |
| - name: Ghcr manifest | |
| uses: actionhippie/manifest@b9a6c7fed4717b123ad2b73b678cd9fc3dd7372d # v1 | |
| with: | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| platforms: linux/amd64,linux/arm64,linux/arm/v6 | |
| template: ghcr.io/dockhippie/php-caddy:8.4-ARCH | |
| target: ghcr.io/dockhippie/php-caddy:8.4 | |
| ignore_missing: true | |
| ... |