Skip to content
Merged
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
13 changes: 9 additions & 4 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,13 @@ jobs:
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# `latest` belongs to the newest RELEASE. It used to be applied by the
# dev path instead, so `docker pull ghcr.io/pelotech/xapi-lrs` returned
# an unreleased build off main — the opposite of what the convention
# promises. Dev builds are published as `edge` now.
tags: |
type=raw,value=${{ needs.release-please.outputs.tag_name }}
type=raw,value=latest
- uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
with:
registry: ${{ env.REGISTRY }}
Expand Down Expand Up @@ -300,7 +305,7 @@ jobs:

# ----------------------------------------------------------------------------
# Dev path: builds per-arch on every non-release main push, merges into a
# `latest` manifest list.
# `edge` manifest list.
# ----------------------------------------------------------------------------
build-dev:
if: ${{ needs.release-please.outputs.app_release_created != 'true' }}
Expand Down Expand Up @@ -386,7 +391,7 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=edge,enable={{is_default_branch}}
- uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4
with:
registry: ${{ env.REGISTRY }}
Expand All @@ -399,13 +404,13 @@ jobs:
$(printf '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@sha256:%s ' *)
- name: Inspect image
run: |
docker buildx imagetools inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
docker buildx imagetools inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:edge
- name: Capture manifest digest
id: digest
run: |
set -euo pipefail
DIGEST=$(docker buildx imagetools inspect \
"${REGISTRY}/${IMAGE_NAME}:latest" \
"${REGISTRY}/${IMAGE_NAME}:edge" \
--format '{{json .Manifest}}' | jq -r .digest)
echo "digest=${DIGEST}" >> "$GITHUB_OUTPUT"
env:
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,14 @@ Published images build on [Minimus](https://www.minimus.io/) hardened Node (`reg

Two smaller consequences of FIPS mode, neither of which this application triggers today: MD5 throws wherever it is used, so a future dependency that hashes with MD5 will fail at runtime rather than silently degrade; and TLS is restricted to the NIST curves, which can affect outbound connections to endpoints offering only x25519.

Published image tags:

| Tag | Points at |
| ----------- | --------------------------------------------------- |
| `latest` | the most recent release |
| `<version>` | that exact release, e.g. `0.9.5` (immutable) |
| `edge` | the current tip of `main` — unreleased, moves often |

Container images published to `ghcr.io/pelotech/xapi-lrs` are signed with [Sigstore cosign](https://docs.sigstore.dev/) (keyless / OIDC) and carry SLSA build provenance attestations. Release images additionally have SPDX and CycloneDX SBOMs attached as Sigstore attestations and as downloadable release artifacts.

Verify an image (substitute the tag):
Expand Down
Loading