Skip to content

Commit

Permalink
ci: use the new rake-compiler-dock oci images
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Jan 10, 2023
1 parent 6ea1449 commit e6c7f8a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ jobs:
runs-on: ubuntu-latest
container:
# image: "larskanis/rake-compiler-dock-mri-x86_64-linux:${{needs.rcd_image_version.outputs.rcd_image_version}}"
image: "ghcr.io/rake-compiler/rake-compiler-dock-snapshot:x86_64-linux"
image: "ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-mri-x86_64-linux"
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -515,7 +515,7 @@ jobs:
path: ports/archives
key: tarballs-ubuntu-${{hashFiles('dependencies.yml', 'patches/**/*.patch')}}
- env:
DOCKER_IMAGE: "ghcr.io/rake-compiler/rake-compiler-dock-snapshot:${{matrix.plat}}"
DOCKER_IMAGE: "ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-mri-${{matrix.plat}}"
# DOCKER_IMAGE: "larskanis/rake-compiler-dock-mri-${{matrix.plat}}:${{needs.rcd_image_version.outputs.rcd_image_version}}"
run: |
docker run --rm -v "$(pwd):/nokogiri" -w /nokogiri \
Expand Down Expand Up @@ -698,7 +698,7 @@ jobs:
runs-on: ubuntu-latest
container:
# image: "larskanis/rake-compiler-dock-jruby:${{needs.rcd_image_version.outputs.rcd_image_version}}"
image: "ghcr.io/rake-compiler/rake-compiler-dock-snapshot:jruby"
image: "ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-jruby"
steps:
- uses: actions/checkout@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions rakelib/extensions.rake
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ namespace "gem" do
CROSS_RUBIES.find_all { |cr| cr.windows? || cr.linux? || cr.darwin? }.map(&:platform).uniq.each do |plat|
desc "build native gem for #{plat} platform"
task plat do
ENV["RCD_IMAGE"] = "ghcr.io/rake-compiler/rake-compiler-dock-snapshot:#{plat}"
ENV["RCD_IMAGE"] = "ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-mri-#{plat}"
RakeCompilerDock.sh(<<~EOT, platform: plat, verbose: true)
ruby -v &&
gem install bundler --no-document &&
Expand All @@ -345,7 +345,7 @@ namespace "gem" do

desc "build a jruby gem"
task "jruby" do
ENV["RCD_IMAGE"] = "ghcr.io/rake-compiler/rake-compiler-dock-snapshot:jruby"
ENV["RCD_IMAGE"] = "ghcr.io/rake-compiler/rake-compiler-dock-image:snapshot-jruby"
RakeCompilerDock.sh(<<~EOF, rubyvm: "jruby", platform: "jruby", verbose: true)
gem install bundler --no-document &&
bundle &&
Expand Down

0 comments on commit e6c7f8a

Please sign in to comment.