Skip to content

Commit

Permalink
Use override_module instead of override_repository in oci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
HoloRin committed Aug 22, 2023
1 parent 54860c4 commit 45188d4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/rabbitmq-oci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,8 @@ 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
Expand Down

0 comments on commit 45188d4

Please sign in to comment.