Skip to content

Commit f553e46

Browse files
Merge branch 'main' into renovate/pin-dependencies
2 parents 4525359 + 347cae9 commit f553e46

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

.github/workflows/clean-main-images.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Cleanup main images
22

33
on:
44
schedule:
5-
- cron: "5 * * * *"
5+
- cron: '5 1 * * *'
66
workflow_dispatch:
77

88
env:
@@ -12,7 +12,7 @@ env:
1212

1313
jobs:
1414
clean:
15-
name: "Clean main images"
15+
name: 'Clean main images'
1616
runs-on: ubuntu-latest
1717
permissions:
1818
packages: write
@@ -21,7 +21,7 @@ jobs:
2121
uses: actions/delete-package-versions@e5bc658cc4c965c472efe991f8beea3981499c55 # v5
2222
with:
2323
package-name: ${{ env.IMAGE_NAME }}
24-
package-type: "container"
24+
package-type: 'container'
2525
min-versions-to-keep: ${{ env.KEEP_X_IMAGES }}
2626
# Ignore any version that does NOT start with 'main-'
27-
ignore-versions: "^(?!main-).*$"
27+
ignore-versions: '^(?!main-).*$'

.github/workflows/on-release.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ jobs:
2424

2525
release:
2626
runs-on: ubuntu-latest
27-
needs:
27+
needs:
2828
- run-build
2929

3030
permissions:
3131
contents: write # write release tag to the repo
3232
packages: write # push the container to ghcr
33-
33+
3434
steps:
3535
- name: Checkout code
3636
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3737
with:
38-
fetch-depth: 0 # Fetch all history for all tags and branches
38+
fetch-depth: 0 # Fetch all history for all tags and branches
3939

4040
- name: Check if tag already exists
4141
id: check_tag
@@ -47,7 +47,7 @@ jobs:
4747
else
4848
echo "Tag does not exit. Building release version ${{ github.event.inputs.nextVersion }}"
4949
fi
50-
50+
5151
- name: Log in to the Container registry
5252
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
5353
with:
@@ -61,7 +61,9 @@ jobs:
6161
with:
6262
context: .
6363
push: true
64-
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.event.inputs.nextVersion }}
64+
sbom: true
65+
provenance: mode=max
66+
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest,${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.event.inputs.nextVersion }}
6567

6668
- name: Create Release with autogenerated release notes
6769
env:

0 commit comments

Comments
 (0)