Skip to content

Add support for vips #39

Add support for vips

Add support for vips #39

Workflow file for this run

name: Ruby
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- '3.3'
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build dockerfile.vips
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.vips
tags: vips:latest
cache-from: type=gha
cache-to: type=gha,mode=max
- run: docker images
- run: docker run --rm vips:latest bundle exec rake test X=/vips/
- name: Build dockerfile.imagemagick
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.imagemagick
tags: imagemagick:latest
cache-from: type=gha
cache-to: type=gha,mode=max
- run: docker run --rm imagemagick:latest bundle exec rake test X=/image_magick/