0xSpaceShard / 0xSpaceShard/cairo-cli-docker

Build on side branches

オープン
#15 コメント 0 件 リアクション 0 件 担当者 1 名 @Nathan-SL が担当を希望しています GitHub で見る
主要言語
Shell
スター
10
フォーク
4
PR マージ指標
30日以内にマージされた PR はありません

説明

Currently we only build on master, but for testing purposes, we could build on side branches, too. This is useful if we aren't just doing a simple cairo-lang update, but e.g. adding new commands.

It could be a simple build of just one image. Don't know how we would handle the environment variables (ARGs), ideally we wouldn't introduce duplication.

EDIT: the simplest approach would be to add a check in the shell script which checks the `CIRCLE_BRANCH` (an environment variable present in circleci) and only pushes the images if on `master`.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Look at the existing CircleCI configuration and the shell script that builds Docker images. Identify where the build is triggered and where the CIRCLE_BRANCH environment variable can be used. Modify the script to conditionally push images only on the master branch, ensuring no duplication of ARGs. Test by creating a side branch and verifying the build runs without pushing.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker, shell
領域
build-system, ci-cd
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。