From 72d11040ddaeb2f2f8c4ac067b3166fc63bbde16 Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Mon, 26 Aug 2024 00:30:21 +0200 Subject: [PATCH] Workflow: add nodejs to image --- .forgejo/workflows/doc.yaml | 2 +- doc/docker/Dockerfile | 2 +- doc/docker/build.sh | 2 +- doc/docker/upload.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 doc/docker/build.sh mode change 100644 => 100755 doc/docker/upload.sh diff --git a/.forgejo/workflows/doc.yaml b/.forgejo/workflows/doc.yaml index 1657cd7..7dea469 100644 --- a/.forgejo/workflows/doc.yaml +++ b/.forgejo/workflows/doc.yaml @@ -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 diff --git a/doc/docker/Dockerfile b/doc/docker/Dockerfile index d0620ba..cf9fce2 100644 --- a/doc/docker/Dockerfile +++ b/doc/docker/Dockerfile @@ -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 diff --git a/doc/docker/build.sh b/doc/docker/build.sh old mode 100644 new mode 100755 index 715d90e..a1928b4 --- a/doc/docker/build.sh +++ b/doc/docker/build.sh @@ -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 . diff --git a/doc/docker/upload.sh b/doc/docker/upload.sh old mode 100644 new mode 100755 index 06a102b..7de3792 --- a/doc/docker/upload.sh +++ b/doc/docker/upload.sh @@ -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