Skip to content

build(deps): bump actions/checkout from 4.1.7 to 4.2.2 #120

build(deps): bump actions/checkout from 4.1.7 to 4.2.2

build(deps): bump actions/checkout from 4.1.7 to 4.2.2 #120

# GH action workflow to check ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/DockerStatic/Dockerfiles/*
# trigger on PR towards 'master' branch when files in ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/DockerStatic changed
name: DockerStatic Checker
on:
pull_request:
paths:
- .github/workflows/check_dockerstatic.yml
- ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/DockerStatic/Dockerfiles/**
branches:
- master
env:
ROOT_PATH: "ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/DockerStatic/Dockerfiles/"
permissions:
contents: read
jobs:
check-alpine:
name: alpine
runs-on: ubuntu-latest
strategy:
fail-fast: true
max-parallel: 4
matrix:
include:
- os: alpine3.20
dockerfile: "Dockerfile.alp320"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Test Dockerfile on ${{ matrix.os }}
env:
DOCKERFILE: ${{ matrix.dockerfile }}
run: docker build -f ${{ env.ROOT_PATH }}/${{ env.DOCKERFILE }} .
check-centos:
name: centos
runs-on: ubuntu-latest
strategy:
fail-fast: true
max-parallel: 4
matrix:
include:
- os: centos8
dockerfile: "Dockerfile.cent8"
- os: centos-stream-9
dockerfile: "Dockerfile.centstream9"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Test Dockerfile on ${{ matrix.os }}
env:
DOCKERFILE: ${{ matrix.dockerfile }}
run: docker build -f ${{ env.ROOT_PATH }}/${{ env.DOCKERFILE }} .
check-fedora:
name: fedora
runs-on: ubuntu-latest
strategy:
fail-fast: true
max-parallel: 4
matrix:
include:
- os: fedora41
dockerfile: "Dockerfile.f41"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Test Dockerfile on ${{ matrix.os }}
env:
DOCKERFILE: ${{ matrix.dockerfile }}
run: docker build -f ${{ env.ROOT_PATH }}/${{ env.DOCKERFILE }} .
check-ubuntu:
name: ubuntu
runs-on: ubuntu-latest
strategy:
fail-fast: true
max-parallel: 4
matrix:
include:
- os: ubuntu20.04
dockerfile: "Dockerfile.u2004"
- os: ubuntu22.04
dockerfile: "Dockerfile.u2204"
- os: ubuntu24.04
dockerfile: "Dockerfile.u2404"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Test Dockerfile on ${{ matrix.os }}
env:
DOCKERFILE: ${{ matrix.dockerfile }}
run: docker build -f ${{ env.ROOT_PATH }}/${{ env.DOCKERFILE }} .