Compare commits

...

2 commits
va1 ... main

Author SHA1 Message Date
0bc6b81c8c .forgejo/workflows/openbao.yml hinzugefügt
Some checks failed
Anchore Syft SBOM scan / Anchore-Build-Scan (push) Failing after 1s
CodeQL / Analyze (push) Failing after 1s
openbao / build (push) Failing after 1s
Go / build (push) Successful in 30s
2025-10-20 11:28:07 +00:00
a50bc46701 .forgejo/workflows/debian.yml aktualisiert
Some checks failed
Anchore Syft SBOM scan / Anchore-Build-Scan (push) Failing after 2s
CodeQL / Analyze (push) Failing after 1s
Go / build (push) Successful in 19s
Create the timetracker DEB / Create Package (push) Failing after 2s
2025-09-05 05:34:19 +00:00
2 changed files with 43 additions and 1 deletions

View file

@ -40,7 +40,26 @@ jobs:
- name: Create Deb package - name: Create Deb package
run: | run: |
dpkg-deb --build PKG_SOURCE timetracker_${{github.ref_name}}.deb dpkg-deb --build PKG_SOURCE timetracker_${{github.ref_name}}.deb
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.test }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.test }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: timetracker_${{github.ref_name}}.deb
asset_name: timetracker_${{github.ref_name}}.deb
asset_content_type: application/zip
- name: Upload Artifact (für CI-Artefakt) - name: Upload Artifact (für CI-Artefakt)
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:

View file

@ -0,0 +1,23 @@
name: openbao
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Read Openbao secrets
id: read-openbao-secrets
uses: hashicorp/vault-action@v2
with:
url: https://vault-test.mms-at-work.de:8200
token: ${{ secrets.VAULT_TEST_TOKEN }}
secrets: |
testproject/test/testproject foo | FOO
- name: Echo secret value from Openbao
run: echo "$FOO"