Skip to content

Commit d32eff9

Browse files
committed
Add release workflow
1 parent 21e33c1 commit d32eff9

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/release.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Publish Policies
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: ['main']
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
packages: write
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
16+
- name: Setup updatecli
17+
uses: updatecli/updatecli-action@2c3221bc5f4499a99fec2c87d9de4a83cb30e990 # v3.1.3
18+
- name: Log in to the Container registry
19+
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
20+
with:
21+
registry: ghcr.io
22+
username: ${{ github.actor }}
23+
password: ${{ secrets.GITHUB_TOKEN }}
24+
- name: Publish
25+
run: make release

0 commit comments

Comments
 (0)