Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,18 @@ jobs:
- name: List images
run: docker images

- name: Verify RUBY_REVISION in built image
run: |-
push_tags="${{ env.push_tags }}"
for tag in $push_tags; do
echo "Verifying rubylang/ruby:$tag"
if ! docker run --rm rubylang/ruby:$tag ruby -e 'print RUBY_REVISION'; then
echo "ERROR: Failed to extract RUBY_REVISION from rubylang/ruby:$tag"
exit 1
fi
echo ""
done

- name: Push docker image to rubylang
if: "${{ env.push_tags }}"
run: |-
Expand Down
Loading