summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@gmail.com>2020-09-02 02:05:17 +0200
committerGitHub <noreply@github.com>2020-09-02 02:05:17 +0200
commit34991ce1c0b56ce47ca7340d5dc2d1a5e2d3f5d9 (patch)
treebd1a0596d44030932102755fb8f45fdc6b72e79c
parentReplace deprecated "target" with "js" (diff)
downloadseven-wonders-34991ce1c0b56ce47ca7340d5dc2d1a5e2d3f5d9.tar.gz
seven-wonders-34991ce1c0b56ce47ca7340d5dc2d1a5e2d3f5d9.tar.bz2
seven-wonders-34991ce1c0b56ce47ca7340d5dc2d1a5e2d3f5d9.zip
Migrate docker push to Github Container Registry
-rw-r--r--.github/workflows/ci.yml17
1 files changed, 14 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e44a5bf8..40df24c9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -32,17 +32,28 @@ jobs:
- name: Build with Gradle
run: ./gradlew build
- - name: Docker push to GitHub Packages
+ - name: Docker push to GitHub Container Registry
uses: docker/build-push-action@v1
with:
path: ./sw-server
username: ${{ github.actor }}
password: ${{ github.token }}
- registry: docker.pkg.github.com
- repository: joffrey-bion/seven-wonders/sw-server
+ registry: ghcr.io
+ repository: joffrey-bion/seven-wonders-server
tag_with_ref: true
tag_with_sha: true
+# - name: Docker push to GitHub Packages
+# uses: docker/build-push-action@v1
+# with:
+# path: ./sw-server
+# username: ${{ github.actor }}
+# password: ${{ github.token }}
+# registry: docker.pkg.github.com
+# 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:
bgstack15