summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-05-25 01:25:39 +0200
committerJoffrey Bion <joffrey.bion@booking.com>2020-05-25 01:25:39 +0200
commit72b17cba38d8900231211d23f6f09120a2a0f287 (patch)
tree3c603d9f83b20ce68e2e026214cbffb2b2900914
parentIncrease test timeout to make sure it's not about time (diff)
downloadseven-wonders-72b17cba38d8900231211d23f6f09120a2a0f287.tar.gz
seven-wonders-72b17cba38d8900231211d23f6f09120a2a0f287.tar.bz2
seven-wonders-72b17cba38d8900231211d23f6f09120a2a0f287.zip
Add docker push to Heroku
-rw-r--r--.github/workflows/ci.yml13
1 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 08bd23bc..46366c9f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -32,7 +32,7 @@ jobs:
- name: Build with Gradle
run: ./gradlew build
- - name: Docker push
+ - name: Docker push to GitHub Packages
uses: docker/build-push-action@v1
with:
path: ./sw-server
@@ -42,3 +42,14 @@ jobs:
repository: joffrey-bion/seven-wonders/sw-server
tag_with_ref: true
tag_with_sha: true
+
+ - name: Docker push to Heroku
+ uses: docker/build-push-action@v1
+ with:
+ path: ./sw-server
+ username: _
+ password: ${{ secrets.HEROKU_API_KEY }}
+ registry: registry.heroku.com
+ repository: seven-wonders-online/web
+ tag_with_ref: true
+ tag_with_sha: true
bgstack15