mirror of
https://github.com/amigan/aim-oscar-server.git
synced 2024-11-20 19:49:47 -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
|
||||
node_modules
|
||||
scripts
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
- uin: 1
|
||||
username: toof
|
||||
password: bar
|
||||
email: toof@plot.club
|
||||
email: toof@example.com
|
||||
- uin: 2
|
||||
username: artem
|
||||
password: bar
|
||||
email: artem@plot.club
|
||||
email: artem@example.com
|
||||
- model: Message
|
||||
rows: []
|
||||
- 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