export github action

This commit is contained in:
Alexander Bentkamp
2023-05-05 11:38:28 +02:00
parent c0cc1c2692
commit 50230f84a9
3 changed files with 12 additions and 5 deletions

View File

@@ -12,8 +12,3 @@ jobs:
- name: build docker image - name: build docker image
run: docker build . --file Dockerfile --tag nng:latest run: docker build . --file Dockerfile --tag nng:latest
- name: Store docker container as an artifact
uses: ishworkh/docker-image-artifact-upload@v1
with:
image: "nng:latest"

10
.github/workflows/export.yml vendored Normal file
View File

@@ -0,0 +1,10 @@
name: Build
run-name: Export
on: [workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: export into Game Server
run: curl -s https://adam.math.hhu.de/import/trigger/${GITHUB_REPOSITORY} > /dev/null && \
echo 'View progress at https://adam.math.hhu.de/import/status/${GITHUB_REPOSITORY}'

View File

@@ -22,3 +22,5 @@ WORKDIR /game
RUN lake clean && lake build RUN lake clean && lake build
WORKDIR /game/lake-packages/GameServer/server/build/bin/ WORKDIR /game/lake-packages/GameServer/server/build/bin/
CMD ./gameserver --server /game/ NNG NNG