Skip to content

Commit ba383bd

Browse files
authored
Bump base image for building to Fedora 37 (#445)
* Bump base image for building to Fedora 37 Bump the base image for building in CI to Fedora 37 because Fedora 33 is now EOL and has been removed from the quay repository. * Set /docs directory to being marked safe * Bump actions/checkout v2 (deprecated) to v3
1 parent 7132367 commit ba383bd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ jobs:
66
runs-on: ubuntu-latest
77

88
steps:
9-
- uses: actions/checkout@v2
9+
- uses: actions/checkout@v3
1010

1111
- name: Test and Publish
1212
env:
1313
GH_NAME: ${{ secrets.GH_NAME }}
1414
GH_EMAIL: ${{ secrets.GH_EMAIL }}
1515
GH_TOKEN: ${{ secrets.GH_TOKEN }}
1616
run: |
17-
docker run -eBRANCH="${GITHUB_REF##*/}" -eGH_NAME -eGH_EMAIL -eGH_TOKEN --network host -i --volume $PWD:/docs:z --workdir /docs quay.io/fedora/fedora:33-x86_64 /bin/bash -c './build_tools/ci.sh'
17+
docker run -eBRANCH="${GITHUB_REF##*/}" -eGH_NAME -eGH_EMAIL -eGH_TOKEN --network host -i --volume $PWD:/docs:z --workdir /docs quay.io/fedora/fedora:37-x86_64 /bin/bash -c './build_tools/ci.sh'

build_tools/ci.sh

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ make clean html
1717

1818
# Checkout our gh-pages branch, remove everything but .git
1919
echo "--- switching to gh-pages"
20+
git config --global --add safe.directory /docs
2021
git fetch --all
2122
git checkout gh-pages
2223
git pull origin gh-pages

0 commit comments

Comments
 (0)