mirror of
https://github.com/amigan/aim-oscar-server.git
synced 2024-11-21 12:09:48 -05:00
scripts to build and deploy to dockerhub
This commit is contained in:
parent
10cc9c05c4
commit
7641783130
4 changed files with 14 additions and 2 deletions
|
@ -1,2 +1,3 @@
|
||||||
Dockerfile
|
Dockerfile
|
||||||
node_modules
|
node_modules
|
||||||
|
scripts
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
- uin: 1
|
- uin: 1
|
||||||
username: toof
|
username: toof
|
||||||
password: bar
|
password: bar
|
||||||
email: toof@plot.club
|
email: toof@example.com
|
||||||
- uin: 2
|
- uin: 2
|
||||||
username: artem
|
username: artem
|
||||||
password: bar
|
password: bar
|
||||||
email: artem@plot.club
|
email: artem@example.com
|
||||||
- model: Message
|
- model: Message
|
||||||
rows: []
|
rows: []
|
||||||
- model: Buddy
|
- model: Buddy
|
||||||
|
|
6
scripts/build-docker.sh
Executable file
6
scripts/build-docker.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
COMMIT="$(git rev-parse --short HEAD)"
|
||||||
|
TAG="space4llamas/aim:$COMMIT"
|
||||||
|
set -x
|
||||||
|
docker build -t $TAG .
|
5
scripts/deploy-dockerhub.sh
Executable file
5
scripts/deploy-dockerhub.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
COMMIT="$(git rev-parse --short HEAD)"
|
||||||
|
set -x
|
||||||
|
docker push space4llamas/aim:$COMMIT
|
Loading…
Reference in a new issue