ATOR-371 Add Ubuntu Noble and Lunar builds (#67) #243
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: Build Docker Images | |
on: | |
pull_request: | |
branches: | |
- development | |
- main | |
workflow_dispatch: | |
jobs: | |
build-and-push: | |
runs-on: ${{ matrix.platform.runs-on }} | |
strategy: | |
matrix: | |
platform: | |
- name: linux/amd64 | |
image-suffix: amd64 | |
runs-on: ubuntu-latest | |
- name: linux/arm64 | |
image-suffix: arm64 | |
runs-on: arm64 | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: Build and push | |
uses: ./.github/actions/build-and-push | |
with: | |
docker-username: ${{ secrets.DOCKER_USERNAME }} | |
docker-password: ${{ secrets.DOCKER_PASSWORD }} | |
docker-base-repo: ${{ secrets.DOCKER_BASE_REPO_DEV }}-${{ matrix.platform.image-suffix }} | |
docker-tag: latest-pr | |
docker-platform: ${{ matrix.platform.name }} | |
version: ${{ github.sha }} | |
environment: dev | |
push: false |