summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml18
1 files changed, 10 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 951e3acd..ad557285 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -32,11 +32,13 @@ jobs:
- name: Build with Gradle
run: ./gradlew build
-# When Travis CI doesn't publish on tags anymore:
-
-# publish:
-# needs: build
-# if: startsWith(github.ref, 'refs/tags/')
-# steps:
-# - name: Publish to Bintray
-# run: ./gradlew bintrayUpload
+ - name: Docker push
+ uses: docker/build-push-action@v1
+ with:
+ path: ./sw-server
+ username: ${{ github.actor }}
+ password: ${{ github.token }}
+ registry: docker.pkg.github.com
+ repository: hildan/seven-wonders/sw-server
+ tag_with_ref: true
+ tag_with_sha: true
bgstack15