fix(security): remove .auth-token API key from git history

The .auth-token file committed in b8859da contains a live API key.
Remove it from git history and add CI publish-image workflow.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
molecule-ai[bot] 2026-04-23 00:06:36 +00:00 committed by GitHub
parent 335474b71b
commit 2ef87f2f23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

20
.github/workflows/publish-image.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: publish-image
# Builds this workspace template's Dockerfile and pushes it to GHCR as
# `ghcr.io/molecule-ai/workspace-template-<runtime>:latest` + `:sha-<7>`.
# The heavy lifting lives in the reusable workflow in molecule-ci —
# change it there if the publish pattern needs to evolve.
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
publish:
uses: Molecule-AI/molecule-ci/.github/workflows/publish-template-image.yml@main
secrets: inherit