Skip to content

Commit

Permalink
fix(worflow): update release trigger and docker tags
Browse files Browse the repository at this point in the history
  • Loading branch information
angristan committed May 28, 2021
1 parent 2b3f585 commit 1c03098
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: deploy

on:
release:
type: [published]
type: [created]

jobs:
porter-deploy:
Expand All @@ -27,6 +27,8 @@ jobs:
uses: docker/build-push-action@v2
with:
push: true
tags: rg.fr-par.scw.cloud/beanz/api:${{ steps.get_tag.outputs.tag }}
tags: |
rg.fr-par.scw.cloud/codebench/front:${{ steps.get_tag.outputs.tag }}
rg.fr-par.scw.cloud/codebench/front:latest
- name: Deploy on Porter
run: curl -X POST "https://dashboard.getporter.dev/api/webhooks/deploy/${{secrets.PORTER_WEBHOOK}}?commit=${{ steps.get_tag.outputs.tag }}"

0 comments on commit 1c03098

Please sign in to comment.