11 lines
No EOL
256 B
YAML
11 lines
No EOL
256 B
YAML
when:
|
|
event: tag
|
|
|
|
steps:
|
|
build:
|
|
image: docker:cli
|
|
commands:
|
|
- docker build -f docker/Dockerfile -t incr:${CI_COMMIT_TAG} .
|
|
- docker tag incr:${CI_COMMIT_TAG} incr:latest
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock |