Skip to content

Commit

Permalink
action: add volume to container
Browse files Browse the repository at this point in the history
I'm hoping the base VM for github action has downloaded the composite
action and that this path can be mounted as a volume in the container
running the job.
  • Loading branch information
nvincent-vossloh committed Apr 26, 2023
1 parent 56e7a2c commit d327340
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ jobs:
use-composite-with-custom-container:
name: Custom Container call reusable composite
runs-on: ubuntu-latest
container: ghcr.io/siemaapplications/zephyr-arm-build:v0.0.3
container:
image: ghcr.io/siemaapplications/zephyr-arm-build:v0.0.3
volumes:
- /home/runner/work/_actions/nicovince/hello-world-composite-action/main:/home/runner/work/_actions/nicovince/hello-world-composite-action/main
steps:
- name: Composite action
uses: nicovince/hello-world-composite-action@main
Expand Down

0 comments on commit d327340

Please sign in to comment.