From 72b17cba38d8900231211d23f6f09120a2a0f287 Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Mon, 25 May 2020 01:25:39 +0200 Subject: Add docker push to Heroku --- .github/workflows/ci.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to '.github') 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 -- cgit