Skip to content

Fix workflow date output variable name mismatch#73

Merged
toshi0806 merged 1 commit intomainfrom
fix-workflow-date-output
Oct 31, 2025
Merged

Fix workflow date output variable name mismatch#73
toshi0806 merged 1 commit intomainfrom
fix-workflow-date-output

Conversation

@toshi0806
Copy link
Copy Markdown
Member

問題

PR #72のマージ後、CIビルドが失敗しました:

ERROR: ghcr.io/smkwlab/atcoder-container:20251031-arm64: not found

原因

ビルドジョブとマニフェスト作成ジョブでdate出力の変数名が不一致でした:

  • ビルドジョブ: steps.date.outputs.date を使用して 20251031-amd64 のようなタグを作成
  • マニフェストジョブ: steps.date.outputs.today を参照(存在しない)

修正内容

create-manifestsジョブの以下を修正:

  1. Line 441: 出力変数名を today から date に変更

    - run: echo "date=$(date +'%Y%m%d')" >> "$GITHUB_OUTPUT"
  2. Line 502-504: 参照を outputs.today から outputs.date に変更

    -t ${IMAGE}:${{ steps.date.outputs.date }}

影響範囲

  • 日付タグ(例: 20251031)のマニフェスト作成が正常に動作するようになります
  • 他のタグ(latest, lite-latest, full-latest等)には影響しません

テスト

このPRをマージすると、mainブランチへのpushで再度CIが実行され、すべてのマニフェストが正常に作成されるはずです。

- Change output name from 'today' to 'date' in create-manifests job
- Update all references to use steps.date.outputs.date consistently
- Fixes manifest creation failure for date-tagged images

The build jobs create tags like '20251031-amd64' using outputs.date,
but the manifest job was looking for outputs.today, causing a mismatch.
@toshi0806 toshi0806 merged commit 9bbc473 into main Oct 31, 2025
5 checks passed
@toshi0806 toshi0806 deleted the fix-workflow-date-output branch October 31, 2025 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant