настройка сi-cd

This commit is contained in:
Kayashov.SM
2025-04-24 17:24:30 +04:00
parent 4ca95f65a3
commit 02ccfb8850

View File

@@ -9,6 +9,8 @@ maven-build:
artifacts:
paths:
- target/*.jar
only:
- back_release
docker-build:
stage: docker
@@ -16,3 +18,5 @@ docker-build:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN http://192.168.1.100:9093
- docker build -t 192.168.1.100:9093/kayashov/my-bar .
- docker push 192.168.1.100:9093/kayashov/my-bar
only:
- back_release