2024-03-16 14:42:49 +00:00
|
|
|
pipeline:
|
2024-03-16 14:33:04 +00:00
|
|
|
- name: build docker
|
|
|
|
image: docker:25-cli
|
|
|
|
commands:
|
2024-03-16 14:48:38 +00:00
|
|
|
- apk add git
|
2024-03-16 14:52:25 +00:00
|
|
|
- REPO=$(echo "$CI_REPO" | tr '[:upper:]' '[:lower:]')
|
2024-03-16 14:45:13 +00:00
|
|
|
- docker buildx build -t dev.cat-enby.club/$${REPO}:$CI_COMMIT_TAG .
|
2024-03-16 14:33:04 +00:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
when:
|
|
|
|
- repo: nikurasu:elk-test-ci
|
|
|
|
- event: tag
|