0xSpaceShard / 0xSpaceShard/cairo-cli-docker

Build on side branches

Abierto
#15 0 comentarios 0 reacciones 1 asignado Reclamado por @Nathan-SL Ver en GitHub
Lenguaje dominante
Shell
Estrellas
10
Forks
4
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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`.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
docker, shell
Área
build-system, ci-cd
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.