Add .gitlab-ci.yml

main
Mageas 1 year ago
parent d1ad6ccbf8
commit 542f856ee3
  1. 14
      .gitlab-ci.yml

@ -0,0 +1,14 @@
image: docker:latest
stages:
- build
docker-build:
stage: build
services:
- docker:dind
before_script:
- echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE${tag}" .
- docker push "$CI_REGISTRY_IMAGE${tag}"
Loading…
Cancel
Save