Skip to content

Commit e8e9d5f

Browse files
committed
Relax version detection
1 parent 3afbc33 commit e8e9d5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ jobs:
169169
docker push ghcr.io/ruby/ruby:${{ env.ruby_version }}${{ matrix.image_version_suffix }}
170170
171171
- name: Push the latest image
172-
if: matrix.ubuntu_version == 'nobel' && env.ruby_version == '3.4.1' && matrix.image_version_suffix == ''
172+
if: matrix.ubuntu_version == 'nobel' && contains(${{ env.ruby_version }}, '3.4.') && matrix.image_version_suffix == ''
173173
run: |-
174174
docker tag rubylang/ruby:${{ env.ruby_version }} rubylang/ruby:latest
175175
docker push rubylang/ruby:latest

0 commit comments

Comments
 (0)