Skip to content
Snippets Groups Projects
Commit 8cf3846e authored by Guilherme Arthur Gerônimo's avatar Guilherme Arthur Gerônimo
Browse files

CICD

parent cfeb7383
No related branches found
No related tags found
No related merge requests found
image: docker:stable
stages:
- build
- portainer
### BUILD
build:
stage: build
only:
- master
- main
script:
- docker build ./ -t "$CI_REGISTRY_IMAGE:latest" --no-cache
- docker login $CI_REGISTRY -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD
- docker push "$CI_REGISTRY_IMAGE:latest"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment