mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-25 12:08:06 +01:00
a80530d1df
Co-authored-by: “Michael <“mx@vmstan.com> Co-authored-by: Emelia Smith <ThisIsMissEm@users.noreply.github.com>
35 lines
994 B
YAML
35 lines
994 B
YAML
name: Test container image build
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- .github/workflows/build-nightly.yml
|
|
- .github/workflows/build-push-pr.yml
|
|
- .github/workflows/build-releases.yml
|
|
- .github/workflows/test-image-build.yml
|
|
- Dockerfile
|
|
- streaming/Dockerfile
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build-image:
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
uses: ./.github/workflows/build-container-image.yml
|
|
with:
|
|
file_to_build: Dockerfile
|
|
platforms: linux/amd64 # Testing only on native platform so it is performant
|
|
cache: true
|
|
|
|
build-image-streaming:
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}-streaming
|
|
cancel-in-progress: true
|
|
|
|
uses: ./.github/workflows/build-container-image.yml
|
|
with:
|
|
file_to_build: streaming/Dockerfile
|
|
platforms: linux/amd64 # Testing only on native platform so it is performant
|
|
cache: true
|