We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7a28da8 + d0930d4 commit 0108decCopy full SHA for 0108dec
.github/workflows/release.yml
@@ -0,0 +1,30 @@
1
+name: Release
2
+
3
+on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ release_tag:
7
+ description: 'Release tag (e.g. v1.0.0)'
8
+ required: false
9
+ default: 'latest'
10
11
+permissions:
12
+ contents: read
13
+ packages: write
14
15
+jobs:
16
+ release:
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - name: Checkout code
20
+ uses: actions/checkout@v4
21
22
+ - name: Set up Python
23
+ uses: actions/setup-python@v5
24
+ with:
25
+ python-version: '3.11'
26
27
+ - name: Create release
28
+ run: |
29
+ echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u GitHubSecurityLab --password-stdin
30
+ python release_tools/publish_docker.py release.txt main.py ghcr.io/githubsecuritylab/seclab-taskflow-agent ${{ github.event.inputs.release_tag }}
0 commit comments