Skip to content

Update Ruby and Ubuntu versions #306

Update Ruby and Ubuntu versions

Update Ruby and Ubuntu versions #306

Workflow file for this run

name: Test to build Docker image
on:
push:
pull_request:
workflow_dispatch:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
build:
name: ${{ matrix.ruby_version }}-${{ matrix.ubuntu_version }} ${{ matrix.arch }}
runs-on: ${{ matrix.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
strategy:
matrix:
ubuntu_version:
- resolute
- noble
- jammy
ruby_version:
- 3.2.11
- 3.3.11
- 3.4.9
- 4.0.4
- master
arch:
- amd64
- arm64
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Build image
run: |
rake docker:build arch=${{ matrix.arch }} ruby_version=${{ matrix.ruby_version }} ubuntu_version=${{ matrix.ubuntu_version }}
- name: Check image
run: |
docker images
docker run rubylang/ruby:${{ matrix.ruby_version }}-${{ matrix.ubuntu_version }} ruby -v