fix: rename keygraph/shannon to farhoodlabs/trebuchet in all workflows and issue templates
- release.yml, release-beta.yml, rollback.yml, rollback-beta.yml: all Docker image names, npm package refs, pnpm filter commands updated - Issue templates: CLI examples and workspace paths updated to trebuchet Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -85,8 +85,8 @@ jobs:
|
||||
provenance: mode=max
|
||||
sbom: true
|
||||
tags: |
|
||||
keygraph/shannon:${{ needs.preflight.outputs.version }}
|
||||
keygraph/shannon:latest
|
||||
farhoodlabs/trebuchet:${{ needs.preflight.outputs.version }}
|
||||
farhoodlabs/trebuchet:latest
|
||||
|
||||
build-docker-api:
|
||||
name: Build Docker (API)
|
||||
@@ -118,8 +118,8 @@ jobs:
|
||||
provenance: mode=max
|
||||
sbom: true
|
||||
tags: |
|
||||
keygraph/shannon-api:${{ needs.preflight.outputs.version }}
|
||||
keygraph/shannon-api:latest
|
||||
farhoodlabs/trebuchet-api:${{ needs.preflight.outputs.version }}
|
||||
farhoodlabs/trebuchet-api:latest
|
||||
|
||||
sign-docker:
|
||||
name: Sign Docker images
|
||||
@@ -145,25 +145,25 @@ jobs:
|
||||
- name: Inspect worker image
|
||||
id: inspect-worker
|
||||
run: |
|
||||
docker buildx imagetools inspect "keygraph/shannon:${{ needs.preflight.outputs.version }}"
|
||||
DIGEST="sha256:$(docker buildx imagetools inspect --raw "keygraph/shannon:${{ needs.preflight.outputs.version }}" | sha256sum | cut -d' ' -f1)"
|
||||
docker buildx imagetools inspect "farhoodlabs/trebuchet:${{ needs.preflight.outputs.version }}"
|
||||
DIGEST="sha256:$(docker buildx imagetools inspect --raw "farhoodlabs/trebuchet:${{ needs.preflight.outputs.version }}" | sha256sum | cut -d' ' -f1)"
|
||||
echo "digest=$DIGEST" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Inspect API image
|
||||
id: inspect-api
|
||||
run: |
|
||||
docker buildx imagetools inspect "keygraph/shannon-api:${{ needs.preflight.outputs.version }}"
|
||||
DIGEST="sha256:$(docker buildx imagetools inspect --raw "keygraph/shannon-api:${{ needs.preflight.outputs.version }}" | sha256sum | cut -d' ' -f1)"
|
||||
docker buildx imagetools inspect "farhoodlabs/trebuchet-api:${{ needs.preflight.outputs.version }}"
|
||||
DIGEST="sha256:$(docker buildx imagetools inspect --raw "farhoodlabs/trebuchet-api:${{ needs.preflight.outputs.version }}" | sha256sum | cut -d' ' -f1)"
|
||||
echo "digest=$DIGEST" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Install cosign
|
||||
uses: sigstore/cosign-installer@ba7bc0a3fef59531c69a25acd34668d6d3fe6f22 # v4.1.0
|
||||
|
||||
- name: Sign worker image
|
||||
run: cosign sign --yes "keygraph/shannon@${{ steps.inspect-worker.outputs.digest }}"
|
||||
run: cosign sign --yes "farhoodlabs/trebuchet@${{ steps.inspect-worker.outputs.digest }}"
|
||||
|
||||
- name: Sign API image
|
||||
run: cosign sign --yes "keygraph/shannon-api@${{ steps.inspect-api.outputs.digest }}"
|
||||
run: cosign sign --yes "farhoodlabs/trebuchet-api@${{ steps.inspect-api.outputs.digest }}"
|
||||
|
||||
- name: Verify worker image signature
|
||||
run: |
|
||||
@@ -171,14 +171,14 @@ jobs:
|
||||
cosign verify \
|
||||
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
|
||||
--certificate-identity https://github.com/${{ github.repository }}/.github/workflows/release.yml@${{ github.ref }} \
|
||||
"keygraph/shannon@${{ steps.inspect-worker.outputs.digest }}"
|
||||
"farhoodlabs/trebuchet@${{ steps.inspect-worker.outputs.digest }}"
|
||||
|
||||
- name: Verify API image signature
|
||||
run: |
|
||||
cosign verify \
|
||||
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
|
||||
--certificate-identity https://github.com/${{ github.repository }}/.github/workflows/release.yml@${{ github.ref }} \
|
||||
"keygraph/shannon-api@${{ steps.inspect-api.outputs.digest }}"
|
||||
"farhoodlabs/trebuchet-api@${{ steps.inspect-api.outputs.digest }}"
|
||||
|
||||
publish-npm:
|
||||
name: Publish npm
|
||||
@@ -212,14 +212,14 @@ jobs:
|
||||
run: pnpm install --lockfile-only
|
||||
|
||||
- name: Build CLI
|
||||
run: pnpm --filter @keygraph/shannon run build
|
||||
run: pnpm --filter @trebuchet/cli run build
|
||||
|
||||
- name: Publish npm package
|
||||
working-directory: apps/cli
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
run: |
|
||||
if npm view "@keygraph/shannon@${{ needs.preflight.outputs.version }}" version 2>/dev/null; then
|
||||
if npm view "@trebuchet/cli@${{ needs.preflight.outputs.version }}" version 2>/dev/null; then
|
||||
echo "Version already published, skipping"
|
||||
else
|
||||
pnpm publish --access public --no-git-checks
|
||||
|
||||
Reference in New Issue
Block a user