Add openssh-client to documentation CI container
This commit is contained in:
parent
2bb6bf9878
commit
0b38b68c3c
|
@ -3,7 +3,7 @@ jobs:
|
||||||
build-doc:
|
build-doc:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.5
|
image: git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.6
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: pwd && ls -hla && cd doc && make
|
- run: pwd && ls -hla && cd doc && make
|
||||||
|
@ -15,7 +15,7 @@ jobs:
|
||||||
needs: build-doc
|
needs: build-doc
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.5
|
image: git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.6
|
||||||
steps:
|
steps:
|
||||||
- run: mkdir ~/.ssh && echo "${{ secrets.SSH_KEY }}" > ~/.ssh/id_ed25519 && chmod 0600 ~/.ssh/id_ed25519 && echo "${{ secrets.SSH_KNOWN_HOST }}" > ~/.ssh/known_hosts
|
- run: mkdir ~/.ssh && echo "${{ secrets.SSH_KEY }}" > ~/.ssh/id_ed25519 && chmod 0600 ~/.ssh/id_ed25519 && echo "${{ secrets.SSH_KNOWN_HOST }}" > ~/.ssh/known_hosts
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
|
|
|
@ -9,7 +9,7 @@ RUN gem install asciidoctor asciidoctor-diagram
|
||||||
RUN apt install -y --no-install-recommends mscgen && apt clean
|
RUN apt install -y --no-install-recommends mscgen && apt clean
|
||||||
|
|
||||||
# tools for automatic deployment
|
# tools for automatic deployment
|
||||||
RUN apt install -y --no-install-recommends rsync && apt clean
|
RUN apt install -y --no-install-recommends rsync openssh-client && apt clean
|
||||||
|
|
||||||
# run as unprivileged user in the container
|
# run as unprivileged user in the container
|
||||||
RUN useradd -m ciuser
|
RUN useradd -m ciuser
|
||||||
|
|
Loading…
Reference in a new issue