Replace docker commands with proper building

This commit is contained in:
Daniel_I_Am 2020-08-15 20:02:12 -04:00
parent 0c1919d953
commit 80fc781cf1

View File

@ -93,7 +93,9 @@ docker:
dependencies:
- release
script:
- 'docker -H unix:///var/run/docker.sock info'
- 'docker -H unix:///var/run/docker.sock image build ./Dockerfile'
- 'docker -H unix:///var/run/docker.sock image push registry.chaoticlogic.us/chaosbot:$CI_COMMIT_SHA'
- 'docker -H unix:///var/run/docker.sock image push registry.chaoticlogic.us/chaosbot:latest'
deploy: