Skip to content

Commit

Permalink
add .gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gillesbraun committed Jan 5, 2023
1 parent 28eeec4 commit 1e77028
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
stages:
- build

variables:
CI_IMAGE: $CI_REGISTRY_IMAGE/geo-exporter

build_ci_image:
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
stage: build
image: docker:latest
only:
- tags
script:
- docker build -t $CI_IMAGE:$CI_COMMIT_TAG -t $CI_IMAGE:latest .
- docker push $CI_IMAGE:$CI_COMMIT_TAG && docker push $CI_IMAGE:latest

0 comments on commit 1e77028

Please sign in to comment.