-
-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
- dev container should not be pushed for merge request in GitLab CI/CD.
- if [[ "$CI_PIPELINE_SOURCE" != "merge_request_event" ]]; then
docker buildx build . \
--build-arg PYTHON_VERSION=${PYTHON_VERSION} \
--cache-to type=registry,ref=${CI_REGISTRY_IMAGE}/dev-cache:py${PYTHON_VERSION},mode=max \
--file .devcontainer/Dockerfile \
--push \
--tag ${CI_REGISTRY_IMAGE}/dev:py${PYTHON_VERSION} \
--target dev;
fi
- Resolve warning in Dockerfile.
#4 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 9)
#4 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 70)
#4 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 84)
- prod container is not built and tested in GitLab CI/CD.
- Rethink whether devcontainer workflow should be triggered when mounted files in prod container changes.
Metadata
Metadata
Assignees
Labels
No labels