Skip to content

Bump actions/checkout from 4.1.1 to 4.1.2 #4

Bump actions/checkout from 4.1.1 to 4.1.2

Bump actions/checkout from 4.1.1 to 4.1.2 #4

Workflow file for this run

name: Build
permissions:
contents: read
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- version: trixie
latest: false
alt: testing
- version: bookworm
latest: true
alt: stable
- version: bullseye
latest: false
alt: oldstable
steps:
- name: Checkout sources
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Run docker build (latest)
if: ${{ matrix.latest }}
run:
docker buildx build . \
--push \
--platform linux/amd64,linux/arm64 \
--no-cache \
--pull \
--build-arg "DEBIAN_VERSION=${{matrix.version}}" \
-t "ghcr.io/tweedegolf/debian:${{matrix.version}}" \
-t "ghcr.io/tweedegolf/debian:${{matrix.alt}}" \
-t "ghcr.io/tweedegolf/debian:latest"
- name: Run docker build
if: ${{ !matrix.latest }}
run:
docker buildx build . \
--push \
--platform linux/amd64,linux/arm64 \
--no-cache \
--pull \
--build-arg "DEBIAN_VERSION=${{matrix.version}}" \
-t "ghcr.io/tweedegolf/debian:${{matrix.version}}" \
-t "ghcr.io/tweedegolf/debian:${{matrix.alt}}"