mirror of
https://onedev.site.tesses.net/tesses-framework
synced 2026-03-26 03:10:21 +00:00
Compare commits
2 Commits
96ba20d65c
...
4efd654941
| Author | SHA1 | Date | |
|---|---|---|---|
| 4efd654941 | |||
| 34b484f633 |
39
.gitea/workflows/tag.yaml
Normal file
39
.gitea/workflows/tag.yaml
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
name: Build and Deploy on Tag
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
|
|
||||||
|
env:
|
||||||
|
GITEA_AUTH: ${{ secrets.MY_GITEA_AUTH }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-arch:
|
||||||
|
runs-on: arch-builder
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- run: pacman --noconfirm -Sy mbedtls curl
|
||||||
|
- run: pacman --config /opt/cross/ppc/pacman.conf --noconfirm -Sy mbedtls
|
||||||
|
- run: cp Packaging/Linux/PKGBUILD /home/build/PKGBUILD
|
||||||
|
- run: cp Packaging/Linux/build-arch.sh /home/build/build-arch.sh
|
||||||
|
- run: chmod 755 /home/build/build-arch.sh
|
||||||
|
- run: chown build:build /home/build/PKGBUILD
|
||||||
|
- run: chown build:build /home/build/build-arch.sh
|
||||||
|
- run: su build -c /home/build/build-arch.sh
|
||||||
|
build-jammy:
|
||||||
|
runs-on: deb-builder-jammy
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Build for jammy, noble
|
||||||
|
run: |
|
||||||
|
bash build-ubuntu-jammy.sh
|
||||||
|
bash push-ubuntu-jammy.sh
|
||||||
|
working-directory: ./Packaging/Linux
|
||||||
|
build-plucky:
|
||||||
|
runs-on: deb-builder-plucky
|
||||||
|
steps:
|
||||||
|
- name: Build for plucky, resolute
|
||||||
|
run: |
|
||||||
|
bash build-ubuntu-plucky.sh
|
||||||
|
bash push-ubuntu-plucky.sh
|
||||||
|
working-directory: ./Packaging/Linux
|
||||||
@@ -30,11 +30,14 @@ jobs:
|
|||||||
dockerfile: Dockerfile.run
|
dockerfile: Dockerfile.run
|
||||||
output:
|
output:
|
||||||
type: RegistryOutput
|
type: RegistryOutput
|
||||||
tags: onedev.site.tesses.net/tesses-framework/tesses-framework:latest onedev.site.tesses.net/tesses-framework/tesses-framework:@commit_hash@
|
tags: onedev.site.tesses.net/tesses-framework/tesses-framework:latest onedev.site.tesses.net/tesses-framework/tesses-framework:@commit_hash@ git.tesseslanguage.com/tesses50/tesses-framework:latest git.tesseslanguage.com/tesses50/tesses-framework:@commit_hash@
|
||||||
registryLogins:
|
registryLogins:
|
||||||
- registryUrl: '@server_url@'
|
- registryUrl: '@server_url@'
|
||||||
userName: '@job_token@'
|
userName: '@job_token@'
|
||||||
passwordSecret: dockersecret
|
passwordSecret: dockersecret
|
||||||
|
- registryUrl: git.tesseslanguage.com
|
||||||
|
userName: tesses50
|
||||||
|
passwordSecret: GITEA_AUTH
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
condition: SUCCESSFUL
|
condition: SUCCESSFUL
|
||||||
optional: false
|
optional: false
|
||||||
|
|||||||
Reference in New Issue
Block a user