File tree Expand file tree Collapse file tree 3 files changed +29
-2
lines changed Expand file tree Collapse file tree 3 files changed +29
-2
lines changed 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
2
2
3
3
RUN apk update \
4
4
&& 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 @@ -2,7 +2,7 @@ SHELL := /bin/bash -o pipefail
2
2
3
3
# Docs build related variables
4
4
DOCS_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
6
6
DOCS_SERVE_CONTAINER ?= docker.io/httpd:alpine
7
7
DOCS_TEST_CONTAINER ?= docker.io/wjdp/htmltest:latest
8
8
DOCS_BUILD_TARGET ?= ./source/getting_started/master.adoc
You can’t perform that action at this time.
0 commit comments