File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Official Ruby images
2- IMAGE = ruby
2+ IMAGE = " ruby:3.4.5-slim-bookworm "
33
4- # Adjust as needed
5- VERSION = 3.4.5
6-
7- # IMAGE=jruby
8- # VERSION=latest
4+ # IMAGE="jruby:latest"
95
106# E2E testing
117SENTRY_DSN = " http://user:pass@sentry.localhost/project/42"
Original file line number Diff line number Diff line change 11ARG IMAGE="ruby"
2- ARG VERSION="3.4.5"
3- ARG DISTRO="slim-bookworm"
42
5- FROM ${IMAGE}:${VERSION}-${DISTRO} AS build
3+ FROM ${IMAGE} AS build
64
75RUN apt-get update && apt-get install -y --no-install-recommends \
86 sudo \
Original file line number Diff line number Diff line change @@ -19,6 +19,18 @@ permissions:
1919jobs :
2020 build-and-push :
2121 runs-on : ubuntu-latest
22+ strategy :
23+ matrix :
24+ ruby_image :
25+ - " ruby:2.7.8-slim-bullseye"
26+ - " ruby:3.0.7-slim-bullseye"
27+ - " ruby:3.1.7-slim-bookworm"
28+ - " ruby:3.2.9-slim-bookworm"
29+ - " ruby:3.3.9-slim-bookworm"
30+ - " ruby:3.4.5-slim-bookworm"
31+ - " jruby:9.4.13.0"
32+ - " jruby:latest"
33+
2234 steps :
2335 - name : Check out current commit
2436 uses : actions/checkout@v4
2739 id : build
2840 uses : getsentry/action-build-and-push-images@main
2941 with :
30- image_name : ' sentry-ruby-devcontainer-build '
42+ image_name : ' sentry-ruby-devcontainer-${{ matrix.ruby_image }} '
3143 dockerfile_path : ' .devcontainer/Dockerfile'
3244 ghcr : true
3345 publish_on_pr : true
You can’t perform that action at this time.
0 commit comments