OSO Image Builder #164
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: OSO Image Builder | |
on: | |
push: | |
branches: | |
- 'main' | |
paths-ignore: | |
- '**/README.md' | |
- 'templates/**' | |
- ".github/workflows/versionator.yml" | |
schedule: | |
- cron: '4 0 * * TUE' | |
jobs: | |
Container-Builder: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python_versions: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
package_versions: ["0.26.4", "0.27.0", "0.27.1", "0.27.2", "0.27.3"] | |
target_base: ["full", "slim"] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: "Create and push" | |
uses: multi-py/action-python-image-builder@main | |
timeout-minutes: 45 | |
with: | |
package: "oso" | |
package_latest_version: "0.27.3" | |
# Disable arm7 due to https://github.com/docker/buildx/issues/395 | |
platform: "linux/amd64,linux/arm64" | |
maintainer: "Robert Hafner <[email protected]>" | |
python_version: ${{ matrix.python_versions }} | |
target_base: ${{ matrix.target_base }} | |
package_version: ${{ matrix.package_versions }} | |
registry_password: ${{ secrets.GITHUB_TOKEN }} | |
dockerfile: "${{ github.workspace }}/dockerfile" | |
docker_build_path: "${{ github.workspace }}/" |