Compare commits

...

2 Commits

Author SHA1 Message Date
6df9527db8 adz 2023-11-19 17:52:59 +01:00
cc85f4c476 dsqdsq 2023-11-19 17:51:37 +01:00
2 changed files with 5 additions and 3 deletions

View File

@@ -5,8 +5,9 @@ name: ci/cd to build and push docker image in private registry
on:
push:
tags:
- '*runner*'
tags:
# 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,6 +3,7 @@ name: build_package_deb
env:
PACKAGE_NAME: simplescript
DEB_OS_TARGET: bullseye
GIT_REPO_URL: gitea.jingoh.fr
MAINTAINER: jingoh
ARCH: amd64
@@ -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