Workflow: add nodejs to image

This commit is contained in:
Thomas Kolb 2024-08-26 00:30:21 +02:00
parent a56460bef6
commit 934ba4a339
4 changed files with 4 additions and 4 deletions

View file

@ -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.0 image: git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.1
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: pwd && ls -hla && cd doc && make - run: pwd && ls -hla && cd doc && make

View file

@ -1,4 +1,4 @@
FROM debian:stable FROM debian:stable
RUN apt update && apt install -y ruby-rubygems make RUN apt update && apt install -y nodejs ruby-rubygems make
RUN gem install asciidoctor asciidoctor-diagram RUN gem install asciidoctor asciidoctor-diagram

2
doc/docker/build.sh Normal file → Executable file
View file

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
docker build -t git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.0 docker build -t git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.1 .

2
doc/docker/upload.sh Normal file → Executable file
View file

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
docker login docker login
docker upload git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.0 docker push git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.1
docker logout docker logout