Skip to content

Commit

Permalink
ci: fix docker builds
Browse files Browse the repository at this point in the history
  • Loading branch information
stv0g committed Aug 31, 2021
1 parent ccd60b7 commit 5471395
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ build:docker:
stage: build
image: docker
script:
- docker build --tag ${CI_REGISTRY_IMAGE} .
- docker build --tag ${CI_REGISTRY_IMAGE}:${CI_COMMIT_BRANCH} .
tags:
- docker

Expand Down Expand Up @@ -59,9 +59,6 @@ deploy:docker:
before_script:
- docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
script:
- docker push ${CI_REGISTRY_IMAGE}
- docker push ${CI_REGISTRY_IMAGE}:${CI_COMMIT_BRANCH}
tags:
- shell
- linux
only:
- ci-docker
- docker

0 comments on commit 5471395

Please sign in to comment.