Workflow: Add git to the container
This commit is contained in:
parent
934ba4a339
commit
a0120abc39
|
@ -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.1
|
image: git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.2
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: pwd && ls -hla && cd doc && make
|
- run: pwd && ls -hla && cd doc && make
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM debian:stable
|
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
|
RUN gem install asciidoctor asciidoctor-diagram
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/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
|
#!/bin/sh
|
||||||
|
|
||||||
docker login
|
docker login
|
||||||
docker push git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.1
|
docker push git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.2
|
||||||
docker logout
|
docker logout
|
||||||
|
|
Loading…
Reference in a new issue