-
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (21 loc) · 993 Bytes
/
releases.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# for releases we run in sequence the qualityt checks and the build
name: Build release
on:
push:
tags: [ 'v*.*.*' ]
jobs:
quality:
uses: ./.github/workflows/reuse-quality.yml
build:
needs: quality
uses: ./.github/workflows/reuse-build.yml
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- id: get_version
uses: battila7/get-version-action@v2
- name: Send Keel notifications to koumoul.com
run: |
curl -s --fail --show-error -X POST https://keel.admin.koumoul.com/v1/webhooks/native -u ${{ secrets.KEEL_PROD_USER }}:${{ secrets.KEEL_PROD_PASSWORD }} -d '{"name": "ghcr.io/${{ github.repository }}", "tag": "${{ steps.get_version.outputs.major }}"}'
curl -s --fail --show-error -X POST https://keel.admin.koumoul.com/v1/webhooks/native -u ${{ secrets.KEEL_PROD_USER }}:${{ secrets.KEEL_PROD_PASSWORD }} -d '{"name": "ghcr.io/${{ github.repository }}/daemon", "tag": "${{ steps.get_version.outputs.major }}"}'