-
-
Notifications
You must be signed in to change notification settings - Fork 0
22 lines (18 loc) · 956 Bytes
/
commits.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# no need to run quality checks on every small commit, husky already did it on the dev computer
# in this case we simply build the docker image
name: Build simple commit
on:
push:
branches: ['*']
tags-ignore: [ 'v*.*.*' ]
jobs:
build:
uses: ./.github/workflows/reuse-build.yml
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: Send Keel notifications to staging-koumoul.com
run: |
curl -s --fail --show-error -X POST https://keel.admin.staging-koumoul.com/v1/webhooks/native -u ${{ secrets.KEEL_STAGING_USER }}:${{ secrets.KEEL_STAGING_PASSWORD }} -d '{"name": "ghcr.io/${{ github.repository }}", "tag": "${{ github.ref_name }}"}'
curl -s --fail --show-error -X POST https://keel.admin.staging-koumoul.com/v1/webhooks/native -u ${{ secrets.KEEL_STAGING_USER }}:${{ secrets.KEEL_STAGING_PASSWORD }} -d '{"name": "ghcr.io/${{ github.repository }}/daemon", "tag": "${{ github.ref_name }}"}'