Compare commits

...

3 Commits
0.0.4 ... 0.0.6

Author SHA1 Message Date
b9cb003834 should end 0-9 for package version to not conflict with runner deb action 2023-11-19 17:56:00 +01:00
6df9527db8 adz 2023-11-19 17:52:59 +01:00
cc85f4c476 dsqdsq 2023-11-19 17:51:37 +01:00
2 changed files with 6 additions and 4 deletions

View File

@@ -6,7 +6,8 @@ name: ci/cd to build and push docker image in private registry
on:
push:
tags:
- '*runner*'
# Be carefull, conflict with package-deb *.*.*, don't use more than on dot *.* (ex: 2.5-runner)
- '*-runner'
jobs:
build-and-push-debian-runner:

View File

@@ -3,13 +3,14 @@ name: build_package_deb
env:
PACKAGE_NAME: simplescript
DEB_OS_TARGET: bullseye
GIT_REPO_URL: gitea.jingoh.fr
MAINTAINER: jingoh
ARCH: amd64
on:
push:
tags:
- '*.*.*'
- '*.*.[0-9]'
jobs:
build:
@@ -47,4 +48,4 @@ jobs:
run: |
curl --user ${{ vars.REPO_GITEA_USER }}:${{ secrets.PACKAGE_PUSH_REPO }} \
--upload-file ${{ env.PACKAGE_NAME }}_${{ gitea.ref_name }}_${{ env.ARCH }}.deb \
https://${{ gitea.repository }}/api/packages/${{ vars.REPO_GITEA_USER }}/debian/pool/${{ env.DEB_OS_TARGET }}/main/upload
https://${{ env.GIT_REPO_URL }}/api/packages/${{ vars.REPO_GITEA_USER }}/debian/pool/${{ env.DEB_OS_TARGET }}/main/upload