summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoffrey-bion <joffrey.bion@gmail.com>2020-12-12 22:57:49 +0100
committerjoffrey-bion <joffrey.bion@gmail.com>2020-12-12 22:57:49 +0100
commita18dec2a28ff5da3aedc3e4e87a62fd37d34ccb1 (patch)
tree104c251a111af474b7c52385c4561f319fc72007
parentRemove heroku Procfile (unnecessary with Docker) (diff)
downloadseven-wonders-a18dec2a28ff5da3aedc3e4e87a62fd37d34ccb1.tar.gz
seven-wonders-a18dec2a28ff5da3aedc3e4e87a62fd37d34ccb1.tar.bz2
seven-wonders-a18dec2a28ff5da3aedc3e4e87a62fd37d34ccb1.zip
Add docker tags based on commit SHA
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2da70d42..74c694dc 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -74,7 +74,9 @@ jobs:
push: true
tags: |
${{ env.DOCKERHUB_USER }}/${{ env.DOCKER_IMAGE_NAME }}:latest
+ ${{ env.DOCKERHUB_USER }}/${{ env.DOCKER_IMAGE_NAME }}:${{ github.sha }}
ghcr.io/${{ github.repository_owner }}/${{ env.DOCKER_IMAGE_NAME }}:latest
+ ghcr.io/${{ github.repository_owner }}/${{ env.DOCKER_IMAGE_NAME }}:${{ github.sha }}
registry.heroku.com/${{ env.HEROKU_APP_NAME }}/web
- name: Heroku release (deploy Docker image)
bgstack15