File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,37 @@ jobs:
156156 run : |
157157 docker tag discourse/base:2.0.${{ env.TIMESTAMP }}-main-${{ matrix.arch }} discourse/base:aarch64
158158 docker push discourse/base:aarch64
159+ ruby_3_4 :
160+ runs-on : ubuntu-24.04${{ ((github.event_name != 'schedule') && '-8core') || '' }}
161+ timeout-minutes : 30
162+ needs : base
163+ steps :
164+ - uses : actions/checkout@v3
165+ with :
166+ fetch-depth : 1
167+ - name : build slim image
168+ run : |
169+ cd image && ruby auto_build.rb base_slim --build-arg="RUBY_VERSION=3.4.7"
170+ - name : build release image
171+ run : |
172+ cd image && ruby auto_build.rb base
173+ - name : build test_build image
174+ run : |
175+ cd image && ruby auto_build.rb discourse_test_build
176+ - name : run specs
177+ run : |
178+ docker run --rm -e RUBY_ONLY=1 -e USE_TURBO=1 -e SKIP_PLUGINS=1 -e SKIP_LINT=1 discourse/discourse_test:build
179+ - name : Print summary
180+ run : |
181+ docker images discourse/base
182+ - name : push to dockerhub
183+ if : success() && (github.ref == 'refs/heads/main')
184+ env :
185+ DOCKERHUB_PASSWORD : ${{ secrets.DOCKERHUB_PASSWORD }}
186+ run : |
187+ docker login --username discoursebuild --password $DOCKERHUB_PASSWORD
188+ docker tag discourse/base:build discourse/base:release-ruby-3.4.7
189+ docker push discourse/base:release-ruby-3.4.7
159190 push_multi_arch_manifests :
160191 runs-on : ubuntu-latest
161192 needs : [base, timestamp]
You can’t perform that action at this time.
0 commit comments