Skip to content

Commit 835ab85

Browse files
committed
Update container image
1 parent c1b6082 commit 835ab85

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed

.devcontainer/Containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/crc-org/antora:3.1.9
1+
FROM ghcr.io/crc-org/antora:latest
22

33
RUN apk update \
44
&& apk add git

.github/workflows/container.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ SHELL := /bin/bash -o pipefail
22

33
# Docs build related variables
44
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
66
DOCS_SERVE_CONTAINER ?= docker.io/httpd:alpine
77
DOCS_TEST_CONTAINER ?= docker.io/wjdp/htmltest:latest
88
DOCS_BUILD_TARGET ?= ./source/getting_started/master.adoc

0 commit comments

Comments
 (0)