adding code and build files for grafana tools

This commit is contained in:
Sheldan
2023-08-27 18:53:56 +02:00
parent 7bbe33bca4
commit 4fc43d1aa7
12 changed files with 180 additions and 0 deletions

20
.github/workflows/release.yaml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Publish package to GitHub Packages
on:
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to Harbor
uses: docker/login-action@v2
with:
registry: harbor.sheldan.dev
username: ${{ secrets.HARBOR_USERNAME }}
password: ${{ secrets.HARBOR_TOKEN }}
- name: Push container
run: docker-compose build && docker-compose push
env:
REGISTRY_PREFIX: harbor.sheldan.dev/grafana-tools/
VERSION: ${{ env.version }}