ci: only ruby 3.3.0 in gh workflows #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux - arm64 - image builder | |
on: | |
push: | |
branches: [ main, ci, ruby-3.3 ] | |
paths-ignore: | |
- '.circleci/**' | |
- '.cirrus.yml' | |
pull_request: | |
branches: [ main, ci, ruby-3.3 ] | |
paths-ignore: | |
- '.circleci/**' | |
- '.cirrus.yml' | |
jobs: | |
make-ubuntu-arm64-image: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
all_but_latest: true | |
- uses: actions/checkout@v3 | |
- name: "Set up Ruby" | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.3.0 | |
- name: build image | |
run: | | |
docker run --privileged --rm tonistiigi/binfmt --install all | |
cd linux | |
ARCHITECTURES="arm64" rake image | |
docker images | |
env: | |
ARCHITECTURES: "arm64" | |
# - name: build from image | |
# run: | | |
# cd linux | |
# ARCHITECTURES="arm64" rake | |
# env: | |
# ARCHITECTURES: "arm64" |