Compare commits

..

1 Commits

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: on:
push: push:
tags: tags:
# Be carefull, conflict with package-deb *.*.*, don't use more than on dot *.* (ex: 2.5-runner)
- '*runner*' - '*runner*'
jobs: jobs:

View File

@@ -3,6 +3,7 @@ name: build_package_deb
env: env:
PACKAGE_NAME: simplescript PACKAGE_NAME: simplescript
DEB_OS_TARGET: bullseye DEB_OS_TARGET: bullseye
GIT_REPO_URL: gitea.jingoh.fr
MAINTAINER: jingoh MAINTAINER: jingoh
ARCH: amd64 ARCH: amd64
@@ -47,4 +48,4 @@ jobs:
run: | run: |
curl --user ${{ vars.REPO_GITEA_USER }}:${{ secrets.PACKAGE_PUSH_REPO }} \ curl --user ${{ vars.REPO_GITEA_USER }}:${{ secrets.PACKAGE_PUSH_REPO }} \
--upload-file ${{ env.PACKAGE_NAME }}_${{ gitea.ref_name }}_${{ env.ARCH }}.deb \ --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