fix application.yml path, remove some docker commands

This commit is contained in:
MiniDigger 2021-02-05 19:14:10 +01:00
parent 3e8ff44ea1
commit 9970ace6de
2 changed files with 2 additions and 5 deletions

View File

@ -79,8 +79,5 @@ jobs:
if: github.event_name == 'push'
run: |
cd docker/deployment
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
docker-compose build
docker-compose push
secure-docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
secure-docker stack deploy --with-registry-auth --compose-file=docker-compose.yml hangar_new
secure-docker stack deploy --compose-file=docker-compose.yml hangar_new

View File

@ -3,7 +3,7 @@ FROM openjdk:16-jdk-alpine
WORKDIR hangar
ADD target/hangar-*.jar /hangar/app.jar
ADD docker/deployment/hangar/application.yml /hangar/application.yml
ADD docker/deployment/hangar-backend/application.yml /hangar/application.yml
ENV TERM xterm-256color