Workflow: Add git to the container

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

View file

@ -3,7 +3,7 @@ jobs:
build-doc:
runs-on: docker
container:
image: git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.1
image: git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.2
steps:
- uses: actions/checkout@v4
- run: pwd && ls -hla && cd doc && make

View file

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

View file

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

View file

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