Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,37 @@ jobs:
run: |
docker tag discourse/base:2.0.${{ env.TIMESTAMP }}-main-${{ matrix.arch }} discourse/base:aarch64
docker push discourse/base:aarch64
ruby_3_4:
runs-on: debian-12-8core
timeout-minutes: 30
needs: base
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: build slim image
run: |
cd image && ruby auto_build.rb base_slim_main_amd64 --build-arg="RUBY_VERSION=3.4.7"
- name: build release image
run: |
cd image && ruby auto_build.rb base_release_main_amd64 --build-arg="RUBY_VERSION=3.4.7"
- name: build test_build image
run: |
cd image && ruby auto_build.rb discourse_test_build_amd64 --build-arg="RUBY_VERSION=3.4.7"
- name: run specs
run: |
docker run --rm -e RUBY_ONLY=1 -e USE_TURBO=1 -e SKIP_PLUGINS=1 -e SKIP_LINT=1 discourse/discourse_test:build_amd64
- name: Print summary
run: |
docker images discourse/base
- name: push to dockerhub
if: success() && (github.ref == 'refs/heads/main')
env:
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
run: |
docker login --username discoursebuild --password $DOCKERHUB_PASSWORD
docker tag discourse/base:build_release_main_amd64 discourse/base:release-ruby-3.4.7
docker push discourse/base:release-ruby-3.4.7
push_multi_arch_manifests:
runs-on: ubuntu-latest
needs: [base, timestamp]
Expand Down