steps:
- name: build docker
image: docker:25-cli
commands:
- REPO=echo "$CI_REPO" | tr '[:upper:]' '[:lower:]'
- docker buildx build -t dev.cat-enby.club/$${REPO}:$CI_COMMIT_TAG
volumes:
- /var/run/docker.sock:/var/run/docker.sock
when:
- repo: nikurasu:elk-test-ci
- event: tag