File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM quay .io/crc-org/antora:3.1.9
1+ FROM ghcr .io/crc-org/antora:latest
22
33RUN apk update \
44 && apk add git
Original file line number Diff line number Diff line change 1+ name : Build Container
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ build :
8+ name : Build Container
9+ runs-on : ' ubuntu-latest'
10+
11+ steps :
12+ - name : Check out repository code
13+ uses : actions/checkout@v4
14+
15+ - name : Build container
16+ run : |
17+ podman build -t ghcr.io/${{ github.repository_owner }}/antora:latest \
18+ -f containers/Containerfile
19+
20+ - name : Login to container registry
21+ run : |
22+ podman login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}
23+
24+ - name : Push to registry
25+ run : |
26+ podman push ghcr.io/${{ github.repository_owner }}/antora:latest
27+
Original file line number Diff line number Diff line change 11name : Build and publish docs
2+
23on :
34 push :
45 branches :
56 - " main"
67 pull_request : {}
8+ workflow_dispatch :
9+
710jobs :
811 build :
912 runs-on : ${{ matrix.os }}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ SHELL := /bin/bash -o pipefail
22
33# Docs build related variables
44DOCS_BUILD_DIR ?= public
5- DOCS_BUILD_CONTAINER ?= quay .io/crc-org/antora:3.1.9
5+ DOCS_BUILD_CONTAINER ?= ghcr .io/crc-org/antora:latest
66DOCS_SERVE_CONTAINER ?= docker.io/httpd:alpine
77DOCS_TEST_CONTAINER ?= docker.io/wjdp/htmltest:latest
88DOCS_BUILD_TARGET ?= ./source/getting_started/master.adoc
You can’t perform that action at this time.
0 commit comments