summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-09-10 18:29:41 +0200
committerJoffrey Bion <joffrey.bion@booking.com>2020-09-10 18:29:41 +0200
commitfa4374d187354106efc2e3349adbfd8d31da58ac (patch)
tree9f01194c1cafafc2a7a1952e1361d27871a5ec49 /.github/workflows
parentFormat github CI's yaml file (diff)
downloadseven-wonders-fa4374d187354106efc2e3349adbfd8d31da58ac.tar.gz
seven-wonders-fa4374d187354106efc2e3349adbfd8d31da58ac.tar.bz2
seven-wonders-fa4374d187354106efc2e3349adbfd8d31da58ac.zip
Add CI stage to push to DockerHub
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b1adadaa..0e0ea673 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -43,6 +43,16 @@ jobs:
tag_with_ref: true
tag_with_sha: true
+ - name: Docker push to DockerHub
+ uses: docker/build-push-action@v1
+ with:
+ path: ./sw-server
+ username: hildan
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
+ repository: hildan/seven-wonders-server
+ tag_with_ref: true
+ tag_with_sha: true
+
# - name: Docker push to GitHub Packages
# uses: docker/build-push-action@v1
# with:
bgstack15