copy examples to container
This commit is contained in:
parent
246b418a4d
commit
a674674140
2 changed files with 5 additions and 0 deletions
3
.github/workflows/package.yaml
vendored
3
.github/workflows/package.yaml
vendored
|
|
@ -38,9 +38,12 @@ jobs:
|
|||
|
||||
- name: Build Wheel
|
||||
run: |
|
||||
# Build wheel and copy to docker dir
|
||||
pip install -e .[build]
|
||||
python setup.py bdist_wheel
|
||||
cp dist/*.whl docker/root
|
||||
# Copy examples to docker defaults dir
|
||||
cp -R examples docker/root/defaults/
|
||||
|
||||
- name: Save Python build cache
|
||||
uses: actions/cache@v3
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@
|
|||
cp /defaults/config.yaml /config/config.yaml
|
||||
[[ ! -e /config/subscriptions.yaml ]] && \
|
||||
cp /defaults/subscriptions.yaml /config/subscriptions.yaml
|
||||
[[ ! -d /config/examples ]] && \
|
||||
cp -R /defaults/examples /config/
|
||||
|
||||
# permissions
|
||||
chown -R abc:abc \
|
||||
|
|
|
|||
Loading…
Reference in a new issue