Skip to content

Commit

Permalink
Fix docker build tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ianks committed Aug 2, 2024
1 parent 60def3f commit b9ecfaf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
rb_sys_dock_cache_dir="$HOME/.cache/rb-sys-dock"
sudo chmod 777 tmp/oxi-test
cd tmp/oxi-test
sed -i "s|gem 'rb_sys', '.*'|gem 'rb_sys', path: '$rb_sys_gem_path/gem'|" Gemfile
ruby -e "File.write('Gemfile', File.read('Gemfile').gsub(/gem .rb_sys.*$/, 'gem \"rb_sys\", git: \"https://github.com/oxidize-rb/rb-sys\", ref: \"$GITHUB_SHA\"'))"
mkdir .cargo
echo "[patch.crates-io]" >> .cargo/config.toml
Expand Down Expand Up @@ -157,6 +157,8 @@ jobs:
- name: Docker push
uses: docker/build-push-action@v6
# check if secrets.DOCKER_HUB_USERNAME is set
if: ${{ secrets.DOCKER_HUB_USERNAME != '' }}
with:
builder: ${{ steps.buildx.outputs.name }}
context: ./docker
Expand Down

0 comments on commit b9ecfaf

Please sign in to comment.