Compare commits
10 Commits
v0.1.0
...
renovate/d
| Author | SHA1 | Date | |
|---|---|---|---|
| 696da318d7 | |||
| b21c4317f2 | |||
| fca1962c31 | |||
| aecdbf72a8 | |||
| 6f95ecd969 | |||
| 8c9f10ca9f | |||
| 322cc70d7e | |||
| 093d734199 | |||
| 7b69054815 | |||
| 784e3fd40c |
@@ -12,7 +12,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v6.0.1
|
uses: actions/checkout@v6.0.2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@@ -25,9 +25,9 @@ jobs:
|
|||||||
# no-fail: true
|
# no-fail: true
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v6.1.0
|
uses: actions/setup-go@v6.3.0
|
||||||
with:
|
with:
|
||||||
go-version: "1.23"
|
go-version: "1.26"
|
||||||
|
|
||||||
# - name: uv cache
|
# - name: uv cache
|
||||||
# uses: actions/cache@v5
|
# uses: actions/cache@v5
|
||||||
@@ -70,13 +70,13 @@ jobs:
|
|||||||
# mv pyproject.toml pyproject.toml.bak
|
# mv pyproject.toml pyproject.toml.bak
|
||||||
# mv uv.lock uv.lock.bak
|
# mv uv.lock uv.lock.bak
|
||||||
|
|
||||||
- name: Snyk SAST Scan
|
# - name: Snyk SAST Scan
|
||||||
uses: snyk/actions/golang@master
|
# uses: snyk/actions/golang@master
|
||||||
env:
|
# env:
|
||||||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
# SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
||||||
with:
|
# with:
|
||||||
# command: snyk
|
# # command: snyk
|
||||||
args: snyk code test #--all-projects --exclude=.archive
|
# args: snyk code test #--all-projects --exclude=.archive
|
||||||
|
|
||||||
# - name: Snyk Vulnerability Scan
|
# - name: Snyk Vulnerability Scan
|
||||||
# uses: snyk/actions/python@master
|
# uses: snyk/actions/python@master
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ jobs:
|
|||||||
REPO: ${{ gitea.repository }}
|
REPO: ${{ gitea.repository }}
|
||||||
|
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v6.0.1
|
uses: actions/checkout@v6.0.2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{ needs.tag.outputs.tag_name }}
|
ref: ${{ needs.tag.outputs.tag_name }}
|
||||||
@@ -50,14 +50,14 @@ jobs:
|
|||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Log in to Gitea Container Registry
|
- name: Log in to Gitea Container Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v4
|
||||||
with:
|
with:
|
||||||
registry: ${{ vars.PACKAGES_REGISTRY_URL }}
|
registry: ${{ vars.PACKAGES_REGISTRY_URL }}
|
||||||
username: ${{ vars.ACTIONS_USERNAME }}
|
username: ${{ vars.ACTIONS_USERNAME }}
|
||||||
password: ${{ secrets.ACTIONS_TOKEN }}
|
password: ${{ secrets.ACTIONS_TOKEN }}
|
||||||
|
|
||||||
- name: Log in to GitHub Container Registry
|
- name: Log in to GitHub Container Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v4
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ vars.GHCR_USERNAME }}
|
username: ${{ vars.GHCR_USERNAME }}
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
FROM golang:1.23-alpine as build
|
FROM golang:1.26-alpine as build
|
||||||
WORKDIR /go/src/app
|
WORKDIR /go/src/app
|
||||||
COPY . /go/src/app
|
COPY . /go/src/app
|
||||||
RUN CGO_ENABLED=0 go build -o /go/bin/app
|
RUN CGO_ENABLED=0 go build -o /go/bin/app
|
||||||
|
|
||||||
FROM gcr.io/distroless/base-debian13
|
FROM gcr.io/distroless/base-debian13
|
||||||
LABEL maintainer="Luke Tainton <luke@tainton.uk>"
|
LABEL maintainer="Luke Tainton <luke@tainton.uk>"
|
||||||
LABEL org.opencontainers.image.source="https://gitlab.com/luketainton/insultgen"
|
LABEL org.opencontainers.image.source="https://git.tainton.uk/repos/insultgen"
|
||||||
COPY --from=build /go/bin/app /
|
COPY --from=build /go/bin/app /
|
||||||
CMD ["/app"]
|
CMD ["/app"]
|
||||||
|
|||||||
@@ -11,6 +11,8 @@
|
|||||||
"semanticCommits": "enabled",
|
"semanticCommits": "enabled",
|
||||||
"semanticCommitScope": "deps",
|
"semanticCommitScope": "deps",
|
||||||
"semanticCommitType": "feat",
|
"semanticCommitType": "feat",
|
||||||
|
"osvVulnerabilityAlerts": true,
|
||||||
|
"dependencyDashboardOSVVulnerabilitySummary": "all",
|
||||||
"vulnerabilityAlerts": {
|
"vulnerabilityAlerts": {
|
||||||
"commitMessagePrefix": "[SECURITY] ",
|
"commitMessagePrefix": "[SECURITY] ",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
@@ -19,5 +21,15 @@
|
|||||||
},
|
},
|
||||||
"lockFileMaintenance": {
|
"lockFileMaintenance": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
|
},
|
||||||
|
"packageRules": [
|
||||||
|
{
|
||||||
|
"matchDepTypes": ["devDependencies"],
|
||||||
|
"automerge": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matchUpdateTypes": ["patch"],
|
||||||
|
"automerge": true
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user