From f7f090eb35db845e9fe537486dd9ebd3258e40bf Mon Sep 17 00:00:00 2001 From: Jan Kessler Date: Wed, 11 Dec 2024 15:20:23 +0100 Subject: [PATCH] commit to test amazonlinux build in regular CI run (to be removed) --- .github/workflows/ci.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 442839d9..bca02170 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,3 +67,40 @@ jobs: DATABASE_URL: postgres://postgres:password@localhost:5432/scalelite_test run: | bundle exec rspec + + build: + name: Test Amazonlinux Docker Build + runs-on: ubuntu-24.04 + env: + DOCKER_REPOSITORY: ${{ secrets.DOCKER_REPOSITORY }} + DOCKER_BUILD_ENABLED: ${{ secrets.DOCKER_BUILD_ENABLED }} + DOCKER_BUILD_ALTERNATE_ENABLED: ${{ secrets.DOCKER_BUILD_ALTERNATE_ENABLED }} + DOCKER_BUILD_ON_PUSH_DISABLED: ${{ secrets.DOCKER_BUILD_ON_PUSH_DISABLED }} + steps: + - name: Alternate Amazon Linux Build nginx + uses: docker/build-push-action@v3 + with: + file: dockerfiles/v1/focal260-amazonlinux + push: false + target: nginx + + - name: Alternate Amazon Linux Build api + uses: docker/build-push-action@v3 + with: + file: dockerfiles/v1/focal260-amazonlinux + push: false + target: api + + - name: Alternate Amazon Linux Build poller + uses: docker/build-push-action@v3 + with: + file: dockerfiles/v1/focal260-amazonlinux + push: false + target: poller + + - name: Alternate Amazon Linux Build recording-importer + uses: docker/build-push-action@v3 + with: + file: dockerfiles/v1/focal260-amazonlinux + push: false + target: recording-importer