Mount volumes across another container?

This commit is contained in:
Cory McWilliams 2024-09-11 18:49:06 -04:00
parent bf151e6b7d
commit 50d0875de2

View File

@ -5,11 +5,15 @@ on: [push]
jobs: jobs:
Build-All: Build-All:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
volumes:
/opt/keys:/opt/keys
steps: steps:
- name: check out code - name: check out code
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
submodules: true submodules: true
- run: pwd; ln -s /opt/keys .keys; ls -alh . /opt
- name: Setup JDK - name: Setup JDK
uses: actions/setup-java@v3 uses: actions/setup-java@v3
with: with:
@ -20,6 +24,5 @@ jobs:
with: with:
packages: 'tools platform-tools build-tools;34.0.0 platforms;android-34 ndk;26.3.11579264' packages: 'tools platform-tools build-tools;34.0.0 platforms;android-34 ndk;26.3.11579264'
- run: sudo apt update && sudo apt install -y doxygen graphviz mingw-w64 - run: sudo apt update && sudo apt install -y doxygen graphviz mingw-w64
- run: pwd; ln -s /opt/keys .keys; ls -alh . /opt
- run: ANDROID_SDK=$HOME/.android/sdk make all -j`nproc` docs - run: ANDROID_SDK=$HOME/.android/sdk make all -j`nproc` docs
- run: docker build . - run: docker build .