mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-27 06:01:08 +08:00
fix application.yml path, remove some docker commands
This commit is contained in:
parent
3e8ff44ea1
commit
9970ace6de
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user