Skip to content

Commit 36f4d94

Browse files
committed
feat: Add release workflow and set version to 0.0.1
1 parent 2cdaf8b commit 36f4d94

File tree

7 files changed

+29
-5
lines changed

7 files changed

+29
-5
lines changed

.github/workflows/release.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
workflow_dispatch:
7+
8+
env:
9+
REGISTRY: ghcr.io
10+
IMAGE_NAME: ${{ github.repository }}
11+
12+
jobs:
13+
build-and-push-image:
14+
uses: advanced-security/reusable-workflows/.github/workflows/container.yml@main
15+
secrets: inherit
16+
permissions:
17+
id-token: write
18+
contents: write
19+
packages: write
20+
attestations: write
21+
security-events: write
22+

.github/workflows/self-action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ jobs:
2020
with:
2121
token: ${{ secrets.GITHUB_TOKEN }}
2222
extractor: ${{ env.EXTRACTOR_REPOSITORY }}
23+

.release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: "codeql-extractor-action"
22
repository: "advanced-security/codeql-extractor-action"
3-
version: 0.1.0
3+
version: 0.0.1
44

55
ecosystems:
66
- Docs

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "codeql-extractor-action"
33
description = "GitHub Action for CodeQL Extractors"
4-
version = "0.1.0"
4+
version = "0.0.1"
55

66
license = "MIT"
77

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ RUN apk update && \
2222

2323
COPY --from=builder /app/target/codeql-extractor-action /usr/local/bin/codeql-extractor-action
2424

25-
ENTRYPOINT ["action"]
25+
ENTRYPOINT ["codeql-extractor-action" ]
26+

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
```yml
3030
- name: "CodeQL Extractor Action"
31-
uses: advanced-security/codeql-extractor-action@v0.1.0
31+
uses: advanced-security/codeql-extractor-action@v0.0.1
3232
with:
3333
# Repository reference (e.g. "owner/repo", "owner/repo@ref")
3434
extractor: "advanced-security/codeql-extractor-iac"

0 commit comments

Comments
 (0)