Skip to content

AL2022 became AL2023 for GA #8

AL2022 became AL2023 for GA

AL2022 became AL2023 for GA #8

Workflow file for this run

name: "Amazon Linux: Build toolbx images for PRs"
permissions: read-all
on:
pull_request:
branches:
- main
paths:
- amazonlinux/**
- .github/workflows/amazonlinux-pr.yaml
env:
distro: 'amazonlinux'
distro_pretty: 'Amazon Linux'
latest_release: '2022'
jobs:
build-images:
strategy:
matrix:
release: ['2', '2022']
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build ${{ env.distro_pretty }} ${{ matrix.release }} toolbox image
uses: docker/build-push-action@v3
with:
context: ${{ env.distro }}/${{ matrix.release }}
file: ${{ env.distro }}/${{ matrix.release }}/Containerfile
platforms: linux/amd64,linux/arm64
push: false
no-cache: true
tags: quay.io/toolbx-images/${{ env.distro }}-toolbox:${{ matrix.release }}