Add .gitlab-ci.yml

main
Mageas 1 year ago
parent 1d3ffe1ea2
commit 23b712e483
  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