Skip to content

Commit

Permalink
mount volumes?
Browse files Browse the repository at this point in the history
  • Loading branch information
ignaciogoldchluk-yolo committed Aug 6, 2024
1 parent 1fc6fe9 commit 28b413f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ jobs:
ports:
- "5672:5672"
volumes:
- ./rabbitmq/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf
- ./rabbitmq/definitions.json:/etc/rabbitmq/definitions.json
- ${{ github.workspace }}/rabbitmq/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf
- ${{ github.workspace }}/rabbitmq/definitions.json:/etc/rabbitmq/definitions.json
options: --name rabbitmq


runs-on: ubuntu-latest
Expand All @@ -42,6 +43,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Restart RabbitMQ
# Restart RabbitMQ after volumes have been checked out
uses: docker://docker
with:
args: docker restart rabbitmq

- name: Cache deps
id: cache-deps
uses: actions/cache@v4
Expand Down

0 comments on commit 28b413f

Please sign in to comment.