deps(patch): update ghcr.io/cloudpunks/alpine:3.19 docker digest to 6c15ca9 #224
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
| --- | |
| name: docker | |
| "on": | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - latest/* | |
| - .github/workflows/docker.yml | |
| pull_request: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| schedule: | |
| - cron: 0 8 * * 1 | |
| permissions: | |
| contents: write | |
| packages: write | |
| jobs: | |
| docker: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout source | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 | |
| - name: Detect version | |
| run: | | |
| VER=$(sed -ne "s/^.*COMMITLINT_CLI_VERSION=\(.*\)/\1/p;" latest/Dockerfile) | |
| echo IMAGE_TAG=${VER} >> ${GITHUB_ENV} | |
| echo "Building ${VER}" | |
| - name: Docker meta | |
| id: meta | |
| uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| images: | | |
| ghcr.io/${{ github.repository }} | |
| flavor: | | |
| latest=true | |
| tags: | | |
| type=raw,value=${{ env.IMAGE_TAG }} | |
| type=schedule,pattern={{date 'YYYYMMDD'}} | |
| type=ref,enable=true,event=branch | |
| labels: | | |
| org.opencontainers.image.vendor=Cloudpunks | |
| maintainer=Cloudpunks GmbH <ops@cloudpunks.de> | |
| - name: Setup QEMU | |
| uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4 | |
| - name: Setup Buildx | |
| id: buildx | |
| uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4 | |
| - name: Ghcr login | |
| uses: docker/login-action@c99871dec2022cc055c062a10cc1a1310835ceb4 # v4 | |
| if: github.event_name != 'pull_request' | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Docker build | |
| uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7 | |
| with: | |
| builder: ${{ steps.buildx.outputs.name }} | |
| context: latest/ | |
| file: latest/Dockerfile | |
| platforms: linux/amd64,linux/arm64 | |
| push: ${{ github.event_name != 'pull_request' }} | |
| labels: ${{ steps.meta.outputs.labels }} | |
| tags: ${{ steps.meta.outputs.tags }} | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max | |
| ... |