Compare commits

...

3 Commits

Author SHA1 Message Date
fc3415be5b test2 2023-11-19 18:05:00 +01:00
5c40392fc4 dqfds 2023-11-19 17:59:02 +01:00
b9cb003834 should end 0-9 for package version to not conflict with runner deb action 2023-11-19 17:56:00 +01:00

View File

@@ -1,7 +1,7 @@
name: build_package_deb
env:
PACKAGE_NAME: simplescript
PACKAGE_NAME: test2
DEB_OS_TARGET: bullseye
GIT_REPO_URL: gitea.jingoh.fr
MAINTAINER: jingoh
@@ -10,11 +10,13 @@ env:
on:
push:
tags:
- '*.*.*'
- '*.*.[0-9]'
jobs:
build:
runs-on: ubuntu-latest
build-package-push-repo:
runs-on: debian-runner
container:
image: debian:bullseye
steps:
- name: Git clone private repository
uses: actions/checkout@v4
@@ -49,3 +51,6 @@ jobs:
curl --user ${{ vars.REPO_GITEA_USER }}:${{ secrets.PACKAGE_PUSH_REPO }} \
--upload-file ${{ env.PACKAGE_NAME }}_${{ gitea.ref_name }}_${{ env.ARCH }}.deb \
https://${{ env.GIT_REPO_URL }}/api/packages/${{ vars.REPO_GITEA_USER }}/debian/pool/${{ env.DEB_OS_TARGET }}/main/upload
- name: Output
run: echo "Push on ${{ env.GIT_REPO_URL }} with user ${{ vars.REPO_GITEA_USER }} package ${{ env.PACKAGE_NAME }} os ${{ env.DEB_OS_TARGET }} tag ${{ gitea.ref_name }}"