Workflow: add nodejs to image
This commit is contained in:
parent
a56460bef6
commit
934ba4a339
|
@ -3,7 +3,7 @@ jobs:
|
|||
build-doc:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.0
|
||||
image: git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.1
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: pwd && ls -hla && cd doc && make
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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
|
||||
|
|
2
doc/docker/build.sh
Normal file → Executable file
2
doc/docker/build.sh
Normal file → Executable file
|
@ -1,3 +1,3 @@
|
|||
#!/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
2
doc/docker/upload.sh
Normal file → Executable file
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
docker login
|
||||
docker upload git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.0
|
||||
docker push git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.1
|
||||
docker logout
|
||||
|
|
Loading…
Reference in a new issue