mirror of
https://github.com/Sheldan/grafana-tools.git
synced 2026-01-01 06:59:06 +00:00
adding code and build files for grafana tools
This commit is contained in:
20
.github/workflows/release.yaml
vendored
Normal file
20
.github/workflows/release.yaml
vendored
Normal 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 }}
|
||||
Reference in New Issue
Block a user