Skip to content

chore(deps): bump github/codeql-action/init from 4.36.2 to 4.36.3 #279

chore(deps): bump github/codeql-action/init from 4.36.2 to 4.36.3

chore(deps): bump github/codeql-action/init from 4.36.2 to 4.36.3 #279

Workflow file for this run

---
name: Zi Docker
on:
workflow_dispatch:
schedule:
- cron: "0 03 * * 3"
push:
branches: [main]
tags: ["v*.*.*"]
paths:
- "docker/**"
- "scripts/**"
- "tests/**"
- "lib/**"
pull_request:
branches: [main]
permissions:
contents: read
packages: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-versioned:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- { zsh_version: "5.5.1" }
- { zsh_version: "5.6.2" }
- { zsh_version: "5.7.1" }
- { zsh_version: "5.8" }
- { zsh_version: "5.8.1" }
- { zsh_version: "5.9" }
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
with:
use: true
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
id: docker_build_zsh_versions
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7
timeout-minutes: 60
with:
push: ${{ github.event.number == 0 }}
file: ./docker/Dockerfile
context: .
build-args: ZSH_VERSION=${{ matrix.zsh_version }}
tags: ghcr.io/${{ github.repository }}:zsh-${{ matrix.zsh_version }}
platforms: linux/amd64,linux/arm64
cache-from: type=gha
cache-to: type=gha,mode=max
build-latest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
with:
use: true
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
id: docker_build_latest
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7
if: github.ref == 'refs/heads/main'
with:
push: true
file: ./docker/Dockerfile
context: .
tags: ghcr.io/${{ github.repository }}:latest
platforms: linux/amd64,linux/arm64
cache-from: type=gha
cache-to: type=gha,mode=max