forked from Mirrors/elk
fix(ci): add missing flags docker buildx
This commit is contained in:
parent
d481c0ae7a
commit
4a8110a52e
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ steps:
|
|||
- MAJOR=$(echo ${CI_COMMIT_TAG} | cut -d '.' -f 1 | tr -d 'v')
|
||||
- MINOR=$(echo ${CI_COMMIT_TAG} | cut -d '.' -f 2)
|
||||
- PATCH=$(echo ${CI_COMMIT_TAG} | cut -d '.' -f 3)
|
||||
- docker buildx build -t $${REGISTRY}/$${REPO}:v$${MAJOR:-0}.$${MINOR:-0}.$${PATCH-0} -t $${REGISTRY}/$${REPO}:v$${MAJOR:-0}.$${MINOR} $${REGISTRY}/$$REPO:v$${MAJOR:-0} $${REGISTRY}/$$REPO:latest .
|
||||
- docker buildx build -t $${REGISTRY}/$${REPO}:v$${MAJOR:-0}.$${MINOR:-0}.$${PATCH-0} -t $${REGISTRY}/$${REPO}:v$${MAJOR:-0}.$${MINOR} -t $${REGISTRY}/$$REPO:v$${MAJOR:-0} -t $${REGISTRY}/$$REPO:latest .
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
when:
|
||||
|
|
Loading…
Reference in a new issue