Workflow: Add git to the container
This commit is contained in:
parent
934ba4a339
commit
a0120abc39
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 .
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue