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