Skip to content

Commit dd99f8a

Browse files
committed
Test slim 4.0 image
1 parent 8b7b5c0 commit dd99f8a

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/_unit_test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on: # yamllint disable-line rule:truthy
77
engine:
88
required: true
99
type: string
10+
image:
11+
required: false
12+
type: string
1013
version:
1114
required: true
1215
type: string
@@ -56,7 +59,7 @@ jobs:
5659
cache-key: "${{ steps.bundle-cache.outputs.cache-key }}"
5760
lockfile: "${{ steps.bundle-cache.outputs.lockfile }}"
5861
container:
59-
image: ghcr.io/datadog/images-rb/engines/${{ inputs.engine }}:${{ inputs.version }}-gnu-gcc
62+
image: ${{ inputs.image || format('ghcr.io/datadog/images-rb/engines/{0}:{1}-gnu-gcc', inputs.engine, inputs.version) }}
6063
steps:
6164
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
6265
with:
@@ -125,7 +128,7 @@ jobs:
125128
matrix:
126129
include: "${{ fromJson(needs.batch.outputs.batches).include }}"
127130
container:
128-
image: ghcr.io/datadog/images-rb/engines/${{ inputs.engine }}:${{ inputs.version }}-gnu-gcc
131+
image: ${{ inputs.image || format('ghcr.io/datadog/images-rb/engines/{0}:{1}-gnu-gcc', inputs.engine, inputs.version) }}
129132
env:
130133
DD_INSTRUMENTATION_TELEMETRY_ENABLED: 'false'
131134
DD_REMOTE_CONFIGURATION_ENABLED: 'false'
@@ -194,7 +197,7 @@ jobs:
194197
matrix:
195198
include: "${{ fromJson(needs.batch.outputs.misc).include }}"
196199
container:
197-
image: ghcr.io/datadog/images-rb/engines/${{ inputs.engine }}:${{ inputs.version }}-gnu-gcc
200+
image: ${{ inputs.image || format('ghcr.io/datadog/images-rb/engines/{0}:{1}-gnu-gcc', inputs.engine, inputs.version) }}
198201
env:
199202
DD_INSTRUMENTATION_TELEMETRY_ENABLED: 'false'
200203
DD_REMOTE_CONFIGURATION_ENABLED: 'false'

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
engine: ruby
3333
version: "4.0"
3434
alias: ruby-40
35+
image: ghcr.io/marcotc/images-rb/engines/ruby:4.0-gnu-gcc-slimtest-751283a
3536

3637
ruby-34:
3738
name: "Ruby 3.4"
@@ -297,4 +298,4 @@ jobs:
297298
file_pattern: "gemfiles/*"
298299
commit_message: "[🤖] Lock Dependency: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
299300
env:
300-
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
301+
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}

0 commit comments

Comments
 (0)