-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (27 loc) · 1.06 KB
/
deb-test.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
name: Deb build push notify
on:
push:
branches:
- dev-test
workflow_dispatch:
jobs:
deb:
runs-on: gha-runners-teleservices
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set package version variable
shell: bash
run: |
echo VERSION=$(cat setup.py | grep "version =" | cut -d '"' -f 2 && echo "-" && date "+%Y%m%d%H%M%S" && echo "~" && echo ${{ github.sha }} | cut -c1-7 ) | tr -d [:space:] >> $GITHUB_ENV
- name: Deb build push and notify
uses: IMIO/gha/[email protected]
with:
REPOSITORY_URL: ${{ secrets.NEXUS_BOOKWORM_TEST_URL }}
REPOSITORY_LOGIN: ${{ secrets.NEXUS_LOGIN }}
REPOSITORY_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
PACKAGE_NAME: ${{ github.event.repository.name }}
PACKAGE_VERSION: ${{ env.VERSION }}
SIGNER_KEY_PASSPHRASE: ${{ secrets.DEB_SIGNER_PASSPHRASE }}
SIGNER_KEY: ${{ secrets.DEB_SIGNER_KEY }}
MATTERMOST_WEBHOOK_URL: ${{ secrets.TELESERVICES_MATTERMOST_WEBHOOK_URL }}