
update-base-tag
by veecode-platform
VeeCode DevPortal - a Full Backstage Distro
SKILL.md
name: update-base-tag description: Update TAG ARG in Dockerfile to latest veecode/devportal-base release
Update Base Tag
Update the TAG ARG in the Dockerfile to the latest semver release of veecode/devportal-base.
Instructions
-
Fetch tags from Docker Hub
Use WebFetch to query the Docker Hub API for available tags (sorted by last updated):
URL: https://hub.docker.com/v2/repositories/veecode/devportal-base/tags/?page_size=100&ordering=last_updated Prompt: List all semver tags (X.Y.Z format, no suffixes like -amd64 or -arm64) and identify the highest version number.Extract all tag names from the response.
-
Filter and sort by semver
- Filter tags that match semver pattern:
X.Y.Z(e.g.,1.2.3,1.1.70) - Exclude tags like
latest,dev,main, or any non-numeric tags - Sort tags by semver (major, minor, patch) in descending order
- Select the highest version as the latest
- Filter tags that match semver pattern:
-
Read the current Dockerfile
Read the Dockerfile in the project root and find the current
TAGvalue in theARG TAG=X.Y.Zline. -
Compare versions
- If the latest Docker Hub tag is newer than the current TAG, update it
- If they are the same, report that the Dockerfile is already up to date
-
Update the Dockerfile
Use the Edit tool to replace the
ARG TAG=line with the new version:ARG TAG=<latest_version> -
Report the result
Output a summary:
- Previous version
- New version (or "already up to date")
- The full tag that was found
Example Output
Updated TAG in Dockerfile:
Previous: 1.1.70
New: 1.2.0
Or if already current:
Dockerfile is already up to date with TAG=1.1.70
スコア
総合スコア
リポジトリの品質指標に基づく評価
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
レビュー
レビュー機能は近日公開予定です