Skip to content

Commit

Permalink
github: dockerfile release testing
Browse files Browse the repository at this point in the history
Signed-off-by: Tonis Tiigi <[email protected]>
  • Loading branch information
tonistiigi committed Dec 18, 2024
1 parent ec32fc4 commit 5f9845a
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/dockerfile-release-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: dockerfile-release-test

on:
workflow_dispatch:
push:
branches:
- testing/dockerfile-test-versioning

env:
TESTFLAGS: "-v --parallel=6 --timeout=30m"

jobs:
test:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
ref:
- dockerfile/1.12.1
- dockerfile/1.12.0
- dockerfile/1.11.0
- dockerfile/1.10.0
- dockerfile/1.9.0
- dockerfile/1.8.1
- dockerfile/1.7.1
- dockerfile/1.6.0
- dockerfile/1.5.2
channel:
- mainline
- labs

steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- name: Test
run: |
DOCKERFILE_RELEASES=${{ matrix.channel }} TEST_SUITE_CONTEXT=https://github.com/${GITHUB_REPOSITORY}.git#${{ matrix.ref }} TESTPKGS=./frontend/dockerfile ./hack/test dockerfile

0 comments on commit 5f9845a

Please sign in to comment.