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:
@@ -64,12 +64,12 @@ jobs:
|
||||
registry-url: https://registry.npmjs.org
|
||||
|
||||
- name: Verify npm package version exists
|
||||
run: npm view "@keygraph/shannon@${{ steps.target.outputs.version }}" version
|
||||
run: npm view "@trebuchet/cli@${{ steps.target.outputs.version }}" version
|
||||
|
||||
- name: Show current npm dist-tags
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
run: npm dist-tag ls @keygraph/shannon
|
||||
run: npm dist-tag ls @trebuchet/cli
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
|
||||
@@ -81,7 +81,7 @@ jobs:
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Verify Docker image tag exists
|
||||
run: docker buildx imagetools inspect "keygraph/shannon:${{ steps.target.outputs.version }}"
|
||||
run: docker buildx imagetools inspect "farhoodlabs/trebuchet:${{ steps.target.outputs.version }}"
|
||||
|
||||
- name: Install cosign
|
||||
uses: sigstore/cosign-installer@ba7bc0a3fef59531c69a25acd34668d6d3fe6f22 # v4.1.0
|
||||
@@ -91,18 +91,18 @@ jobs:
|
||||
cosign verify \
|
||||
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
|
||||
--certificate-identity "https://github.com/${{ github.repository }}/.github/workflows/release.yml@refs/heads/main" \
|
||||
"keygraph/shannon:${{ steps.target.outputs.version }}"
|
||||
"farhoodlabs/trebuchet:${{ steps.target.outputs.version }}"
|
||||
|
||||
- name: Move Docker latest
|
||||
run: |
|
||||
docker buildx imagetools create \
|
||||
--tag "keygraph/shannon:latest" \
|
||||
"keygraph/shannon:${{ steps.target.outputs.version }}"
|
||||
--tag "farhoodlabs/trebuchet:latest" \
|
||||
"farhoodlabs/trebuchet:${{ steps.target.outputs.version }}"
|
||||
|
||||
- name: Move npm latest
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
run: npm dist-tag add "@keygraph/shannon@${{ steps.target.outputs.version }}" latest
|
||||
run: npm dist-tag add "@trebuchet/cli@${{ steps.target.outputs.version }}" latest
|
||||
|
||||
- name: Mark GitHub release as latest
|
||||
env:
|
||||
@@ -112,10 +112,10 @@ jobs:
|
||||
- name: Show final npm dist-tags
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
run: npm dist-tag ls @keygraph/shannon
|
||||
run: npm dist-tag ls @trebuchet/cli
|
||||
|
||||
- name: Verify Docker latest now points to target
|
||||
run: docker buildx imagetools inspect "keygraph/shannon:latest"
|
||||
run: docker buildx imagetools inspect "farhoodlabs/trebuchet:latest"
|
||||
|
||||
- name: Write summary
|
||||
run: |
|
||||
@@ -123,7 +123,7 @@ jobs:
|
||||
echo "## Rollback latest"
|
||||
echo ""
|
||||
echo "- Target version: \`${{ steps.target.outputs.version }}\`"
|
||||
echo "- npm package: \`@keygraph/shannon\`"
|
||||
echo "- Docker image: \`keygraph/shannon\`"
|
||||
echo "- npm package: \`@trebuchet/cli\`"
|
||||
echo "- Docker image: \`farhoodlabs/trebuchet\`"
|
||||
echo "- GitHub release: \`v${{ steps.target.outputs.version }}\` marked as latest"
|
||||
} >> "$GITHUB_STEP_SUMMARY"
|
||||
|
||||
Reference in New Issue
Block a user