Skip to content

Commit

Permalink
Merge pull request #392 from rabbitmq/fixup-oci-workflow
Browse files Browse the repository at this point in the history
Use override_module instead of override_repository in oci workflow
  • Loading branch information
HoloRin authored Aug 28, 2023
2 parents 54860c4 + 5347676 commit 16ee7e6
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/rabbitmq-oci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,15 @@ jobs:
- name: Configure the ra override for this ra
working-directory: rabbitmq-server
run: |
sudo npm install --global --silent @bazel/buildozer
rules_erlang_version="$(cat MODULE.bazel | buildozer 'print version' -:rules_erlang)"
ra_repo="rules_erlang~$rules_erlang_version~erlang_package~ra"
cat << EOF >> user.bazelrc
build --override_repository $ra_repo=${{ github.workspace }}/ra
build --override_module rabbitmq_ra=${{ github.workspace }}/ra
EOF
- name: Configure otp for the OCI image
working-directory: rabbitmq-server
run: |
sudo npm install --global --silent @bazel/buildozer
buildozer 'set tars ["@otp_src_${{ matrix.otp_version_id }}//file"]' \
//packaging/docker-image:otp_source
Expand Down

0 comments on commit 16ee7e6

Please sign in to comment.