Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/docker-image-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ jobs:
# This first job checks that the container can be built, and that we can use it to build the docs without error.
build-image-and-test-docs:
name: Build image and test docs
if: github.repository == 'ESCOMP/CTSM'
uses: ./.github/workflows/docker-image-common.yml
secrets: inherit

# This second job actually builds and publishes the container.
push-and-attest:
name: Publish and attest
if: github.repository == 'ESCOMP/CTSM'
runs-on: ubuntu-latest

# Wait to run this job until after build-image-and-test-docs. If that job fails, something might be wrong with the container, so don't try this one. (It might also have failed because of something wrong with doc-builder or the documentation.)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-image-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_BASENAME: ctsm-docs
REPO: ${{ github.repository }}
REPO: ESCOMP/CTSM

# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
jobs:
Expand Down
Loading