Compare commits
No commits in common. "main" and "4eb1fed" have entirely different histories.
@ -1,40 +0,0 @@
|
||||
name: Build & Publish
|
||||
on: [push]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: https://github.com/docker/metadata-action@v4
|
||||
with:
|
||||
images: git.flokaiser.com/dhbw/pmgame
|
||||
tags: |
|
||||
type=sha,enable=true,priority=100,prefix={{branch}}-,suffix=,format=short
|
||||
type=raw,value=latest,enable={{is_default_branch}}
|
||||
|
||||
- name: Get get-docker.sh
|
||||
run: curl -fsSL https://get.docker.com -o get-docker.sh
|
||||
|
||||
- name: Install docker
|
||||
run: sh get-docker.sh
|
||||
|
||||
- name: Login to Registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.flokaiser.com
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
@ -1,10 +0,0 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"schedule": ["* 5 * * *"],
|
||||
"packageRules": [
|
||||
{
|
||||
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
|
||||
"automerge": true
|
||||
}
|
||||
]
|
||||
}
|
@ -16,8 +16,8 @@ COPY minimize.sh minimize.sh
|
||||
RUN chmod +x minimize.sh
|
||||
RUN ./minimize.sh
|
||||
RUN sed -i "s/DATE_TO_BE_REPLACED/$(date +%s)/" public/index.html
|
||||
RUN sed -i "s/COMMIT_TO_BE_REPLACED/GitHub: $(git ls-remote https://git.flokaiser.com/DHBW/Projektmanagement-Game refs/heads/main | awk '{print $1;}' | cut -c1-7)/" public/index.html
|
||||
RUN sed -i "s/COMMIT_LINK_TO_BE_REPLACED/https\:\/\/git.flokaiser.com\/DHBW\/Projektmanagement-Game\/commit\/$(git ls-remote https://git.flokaiser.com/DHBW/Projektmanagement-Game refs/heads/main | awk '{print $1;}')/" public/index.html
|
||||
RUN sed -i "s/COMMIT_TO_BE_REPLACED/GitHub: $(git ls-remote https://github.com/H4CK3R-01/Projektmanagement-Game refs/heads/main | awk '{print $1;}' | cut -c1-7)/" public/index.html
|
||||
RUN sed -i "s/COMMIT_LINK_TO_BE_REPLACED/https\:\/\/github.com\/H4CK3R-01\/Projektmanagement-Game\/commit\/$(git ls-remote https://github.com/H4CK3R-01/Projektmanagement-Game refs/heads/main | awk '{print $1;}')/" public/index.html
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Wer wird Projektmanager 2021?
|
||||
# Projektmanagement Game
|
||||
|
||||
## Docker
|
||||
### Build
|
||||
|
1627
package-lock.json
generated
1627
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -2,7 +2,7 @@
|
||||
"name": "projektmanagement-game",
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"@socket.io/admin-ui": "^0.5.0",
|
||||
"@socket.io/admin-ui": "^0.2.0",
|
||||
"express": "^4.17.1",
|
||||
"socket.io": "^4.1.3"
|
||||
}
|
||||
|
@ -103,7 +103,7 @@
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 980px) {
|
||||
@media only screen and (max-width: 600px) {
|
||||
#chat {
|
||||
flex-flow: column-reverse;
|
||||
border-top: #7d7d7d solid 2px;
|
||||
|
@ -101,7 +101,7 @@ main {
|
||||
height: calc(100% - 50px);
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 980px) {
|
||||
@media only screen and (max-width: 600px) {
|
||||
#main {
|
||||
display: grid;
|
||||
grid-template-columns: unset;
|
||||
|
@ -28,7 +28,7 @@
|
||||
background-color: #FFDDA1;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 980px) {
|
||||
@media only screen and (max-width: 600px) {
|
||||
#game {
|
||||
height: auto;
|
||||
width: auto;
|
||||
|
@ -45,7 +45,7 @@ header {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 980px) {
|
||||
@media only screen and (max-width: 600px) {
|
||||
header {
|
||||
height: 5em;
|
||||
|
||||
|
@ -54,7 +54,7 @@
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 980px) {
|
||||
@media only screen and (max-width: 600px) {
|
||||
#login {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
@ -68,8 +68,8 @@
|
||||
|
||||
</footer>
|
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.6.1/socket.io.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/6.5.8/browser/pixi.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.1.2/socket.io.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/6.0.4/browser/pixi.min.js"></script>
|
||||
<script src="js/Card.js"></script>
|
||||
<script src="js/Button.js"></script>
|
||||
<script src="js/Sprite.js"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user