1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
---
name: build
on:
workflow_dispatch:
jobs:
build:
name: Ruby ${{ matrix.version.name }} (${{ matrix.compiler }})
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
version:
- { name: 3.2, value: 3.2.9 }
- { name: 3.3, value: 3.3.9 }
compiler: [clang, gcc]
steps:
- uses: actions/checkout@v5
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.9
bundler-cache: true
- name: Build and push docker image
run: bin/rake docker:build_and_push[${{ matrix.version.value }},${{ matrix.compiler }}]
env:
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
|