Compare commits

...

1 Commits
0.0.4 ... 0.0.5

Author SHA1 Message Date
cc85f4c476 dsqdsq 2023-11-19 17:51:37 +01:00
2 changed files with 4 additions and 2 deletions

View File

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

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