Docker version bump
This commit is contained in:
1 parent
304da6dfe7
commit
4d014a8b20
4 files changed
+38
-5
No files matched your search
+4
-5
@@ -3,19 +3,18 @@ stages:
|
||||
|
||||
variables:
|
||||
DOCKER_IMAGE: $DOCKER_REGISTRY/cwshed:latest
|
||||
DOCKER_HOST: unix:///var/run/docker.sock
|
||||
build:
|
||||
stage: build
|
||||
image: docker:28.5
|
||||
services:
|
||||
- docker:28.5-dind
|
||||
image: docker:29.6.1-cli
|
||||
script:
|
||||
# Docker Registry
|
||||
- echo "$DOCKER_PASSWORD" | docker login $DOCKER_REGISTRY -u "$DOCKER_USERNAME" --password-stdin
|
||||
|
||||
# Docker-
|
||||
# Docker build over the mounted host socket
|
||||
- docker build -t $DOCKER_IMAGE .
|
||||
|
||||
# Docker-
|
||||
# Push the resulting image
|
||||
- docker push $DOCKER_IMAGE
|
||||
only:
|
||||
- main
|
||||
@@ -0,0 +1,16 @@
|
||||
# AGENTS.md
|
||||
|
||||
## Scope
|
||||
- This repository currently contains a single GitLab CI pipeline in [`.gitlab-ci.yml`](./.gitlab-ci.yml).
|
||||
|
||||
## Working Rules
|
||||
- Keep changes minimal and focused on the CI file unless new project files are intentionally being added.
|
||||
- Prefer the host Docker socket path `unix:///var/run/docker.sock` for image build/push jobs instead of `docker:dind`.
|
||||
- If the runner setup changes, update the CI file and this document together.
|
||||
|
||||
## Validation
|
||||
- For YAML-only changes, prefer a targeted syntax check and a diff review.
|
||||
- Do not add unnecessary local build artifacts or temporary files to the repository.
|
||||
|
||||
## Notes
|
||||
- The GitLab runner must expose `/var/run/docker.sock` inside the job container for the pipeline to work.
|
||||
@@ -0,0 +1,5 @@
|
||||
# MEMORY
|
||||
|
||||
- The repository is currently CI-only and centered around `.gitlab-ci.yml`.
|
||||
- Docker builds are expected to run through the mounted host socket at `unix:///var/run/docker.sock`.
|
||||
- Current CI image: `docker:29.6.1-cli`.
|
||||
@@ -0,0 +1,13 @@
|
||||
# Structure and Data
|
||||
|
||||
## Repository Layout
|
||||
- [`.gitlab-ci.yml`](./.gitlab-ci.yml): single-stage GitLab pipeline that builds and pushes the `cwshed` Docker image.
|
||||
- [`AGENTS.md`](./AGENTS.md): repo-specific instructions for future coding agents.
|
||||
|
||||
## Runtime / Deployment
|
||||
- GitLab CI runs the build job.
|
||||
- The job now talks to Docker through `unix:///var/run/docker.sock` instead of a `docker:dind` service.
|
||||
- The GitLab runner must mount the host socket into the job container.
|
||||
|
||||
## Change Log
|
||||
- 2026-06-27: updated the Docker CI image to `docker:29.6.1-cli` and switched the pipeline from TCP dind to the Unix socket path.
|
||||
Reference in new issue
Block a user