ci(docs): make a new docker image for the docs per commit sha (#831)

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso 2025-07-14 17:23:23 -04:00 committed by GitHub
parent f6b94dca98
commit c8f2eb1185
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View File

@ -36,6 +36,9 @@ jobs:
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
with:
images: ghcr.io/techarohq/anubis/docs
tags: |
type=sha,format=long
type=edge,branch=main
- name: Build and push
id: build

View File

@ -2,7 +2,7 @@ name: Docs test build
on:
pull_request:
branches: [ "main" ]
branches: ["main"]
permissions:
contents: read
@ -24,7 +24,10 @@ jobs:
id: meta
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
with:
images: ghcr.io/${{ github.repository }}/docs
images: ghcr.io/techarohq/anubis/docs
tags: |
type=sha,format=long
type=edge,branch=main
- name: Build and push
id: build