Skip to content

Commit 5421a99

Browse files
authored
Merge pull request #154 from ruby/mvh-fix-commit-tags
Store the built Ruby commit sha in the github env
2 parents 7212e3c + 32f1669 commit 5421a99

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
@@ -153,7 +153,7 @@ jobs:
153153

154154
# Make sure the sha of "master-{sha}" tags agrees with the RUBY_REVISION in the image
155155
- name: Extract ruby_sha
156-
run: echo "ruby_sha=$(docker run "$docker_image")" >> "$GITHUB_ENV"
156+
run: echo "ruby_sha=$(docker run "$docker_image" ruby -e 'puts RUBY_REVISION')" >> "$GITHUB_ENV"
157157
env:
158158
# In docker:manifest:create:
159159
# tags = ["master#{version_suffix}", ...] #=> "master${{ matrix.image_version_suffix }}"

0 commit comments

Comments
 (0)