File tree Expand file tree Collapse file tree 15 files changed +40
-34
lines changed
quickstarts/snippets/n3dr Expand file tree Collapse file tree 15 files changed +40
-34
lines changed Original file line number Diff line number Diff line change 8
8
runs-on : ubuntu-latest
9
9
name : Check whether images are up-to-date
10
10
steps :
11
- - uses : actions/checkout@v4
11
+ - uses : actions/checkout@v4.1.1
12
12
with :
13
13
fetch-depth : 0
14
14
token : ${{ secrets.WORKFLOW_TOKEN }}
21
21
- name : Check Alpine
22
22
run : ./dip image --name=alpine --regex=^3\.[0-9]+\.[0-9]+$ --updateDockerfile
23
23
- name : Set up Go
24
- uses : actions/setup-go@v2
24
+ uses : actions/setup-go@v5.0.0
25
25
with :
26
26
go-version : 1.19.0
27
27
- name : Check Golang
66
66
sed -i "s|\(releases\/download\/\)\([0-9]\+\.\)\{2\}[0-9]\+|\1${{ env.NEW_TAG }}|g" README.md
67
67
sed -i "s|\(n3dr\/releases\/tag\/\)\([0-9]\+\.\)\{2\}[0-9]\+|\1${{ env.NEW_TAG }}|g" ./docs/quickstarts/snippets/n3dr/DOWNLOAD.md
68
68
sed -i "s|\(releases\/download\/\)\([0-9]\+\.\)\{2\}[0-9]\+|\1${{ env.NEW_TAG }}|g" ./docs/quickstarts/snippets/n3dr/DOWNLOAD.md
69
- - uses : EndBug/add-and-commit@v9
69
+ - uses : EndBug/add-and-commit@v9.1.3
70
70
with :
71
71
author_name : github-actions[bot]
72
72
author_email : 41898282+github-actions[bot]@users.noreply.github.com
80
80
tar -xvf /tmp/git-chglog_0.15.1_linux_amd64.tar.gz -C /tmp
81
81
chmod +x /tmp/git-chglog
82
82
/tmp/git-chglog -o docs/CHANGELOG.md --config configs/chglog/config.yml --next-tag ${{ env.NEW_TAG }}
83
- - uses : EndBug/add-and-commit@v9
83
+ - uses : EndBug/add-and-commit@v9.1.3
84
84
with :
85
85
author_name : github-actions[bot]
86
86
author_email : 41898282+github-actions[bot]@users.noreply.github.com
Original file line number Diff line number Diff line change 6
6
runs-on : ubuntu-latest
7
7
name : Analyze image efficiency
8
8
steps :
9
- - uses : actions/checkout@v4
9
+ - uses : actions/checkout@v4.1.1
10
10
- name : Build image
11
11
run : docker build -t utrecht/n3dr:${{ github.sha }} .
12
12
Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- name : Set up QEMU
12
- uses : docker/setup-qemu-action@v1
12
+ uses : docker/setup-qemu-action@v3.0.0
13
13
- name : Set up Docker Buildx
14
- uses : docker/setup-buildx-action@v1
14
+ uses : docker/setup-buildx-action@v3.0.0
15
15
- name : Login to DockerHub
16
- uses : docker/login-action@v1
16
+ uses : docker/login-action@v3.0.0
17
17
with :
18
18
username : ${{ secrets.DOCKERHUB_USERNAME }}
19
19
password : ${{ secrets.DOCKERHUB_TOKEN }}
22
22
run : echo ::set-output name=version::${GITHUB_REF#refs/tags/}
23
23
- name : Build and push
24
24
id : docker_build
25
- uses : docker/build-push-action@v2
25
+ uses : docker/build-push-action@v5.1.0
26
26
with :
27
27
push : true
28
28
tags : utrecht/n3dr:${{ steps.version.outputs.version }}
Original file line number Diff line number Diff line change 6
6
runs-on : ubuntu-latest
7
7
name : Analyze image using dockle
8
8
steps :
9
- - uses : actions/checkout@v4
9
+ - uses : actions/checkout@v4.1.1
10
10
- name : Build image
11
11
run : docker build -t utrecht/n3dr:${{ github.sha }} .
12
- - uses : hands-lab /dockle-action@v1
12
+ - uses : goodwithtech /dockle-action@v0.1.2
13
13
with :
14
14
image : utrecht/n3dr:${{ github.sha }}
15
+ ignore : CIS-DI-0005,CIS-DI-0006
16
+ accept-key : libcrypto3,libssl3
Original file line number Diff line number Diff line change 14
14
- os : windows-latest
15
15
shasum : sha512sum
16
16
steps :
17
- - uses : actions/checkout@v4
17
+ - uses : actions/checkout@v4.1.1
18
18
- name : Set up Go
19
- uses : actions/setup-go@v2
19
+ uses : actions/setup-go@v5.0.0
20
20
with :
21
21
go-version : 1.19.0
22
22
- name : Unit tests
27
27
grep -v internal/app/n3dr/n3drtest |\
28
28
grep -v cmd/n3dr)
29
29
if : ${{ startsWith(matrix.os, 'ubuntu') }}
30
- - uses : codecov/codecov-action@v3
30
+ - uses : codecov/codecov-action@v3.1.4
31
31
with :
32
32
files : ./coverage.txt
33
33
flags : unittests
Original file line number Diff line number Diff line change 7
7
env :
8
8
GO111MODULE : ' on'
9
9
steps :
10
- - uses : actions/checkout@v4
10
+ - uses : actions/checkout@v4.1.1
11
11
- name : Set up Go
12
- uses : actions/setup-go@v2
12
+ uses : actions/setup-go@v5.0.0
13
13
with :
14
14
go-version : 1.19.0
15
15
- name : Download gosec
Original file line number Diff line number Diff line change 6
6
runs-on : ubuntu-latest
7
7
name : Analyze image using hadolint
8
8
steps :
9
- - uses : actions/checkout@v4
9
+ - uses : actions/checkout@v4.1.1
10
10
-
uses :
hadolint/[email protected]
11
11
with :
12
12
dockerfile : Dockerfile
Original file line number Diff line number Diff line change 5
5
build :
6
6
runs-on : ubuntu-latest
7
7
steps :
8
- - uses : actions/checkout@v4
8
+ - uses : actions/checkout@v4.1.1
9
9
- name : Set up Go
10
- uses : actions/setup-go@v2
10
+ uses : actions/setup-go@v5.0.0
11
11
with :
12
12
go-version : 1.19.0
13
13
- name : Install bats
Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ jobs:
15
15
- os : windows-latest
16
16
shasum : sha512sum
17
17
steps :
18
- - uses : actions/checkout@v4
18
+ - uses : actions/checkout@v4.1.1
19
19
with :
20
20
ref : main
21
21
- name : Set up Go
22
- uses : actions/setup-go@v2
22
+ uses : actions/setup-go@v5.0.0
23
23
with :
24
24
go-version : 1.19.0
25
25
- name : Set N3DR deliverable environment variable
@@ -59,14 +59,14 @@ jobs:
59
59
if : ${{ startsWith(matrix.os, 'windows') }}
60
60
# yamllint enable rule:line-length
61
61
- name : Upload binaries to release
62
- uses : svenstaro/upload-release-action@v2
62
+ uses : svenstaro/upload-release-action@v2.7.0
63
63
with :
64
64
repo_token : ${{ secrets.GITHUB_TOKEN }}
65
65
file : cmd/n3dr/${{ env.n3dr-deliverable }}
66
66
asset_name : ${{ env.n3dr-deliverable }}
67
67
tag : ${{ github.ref }}
68
68
- name : Upload checksums
69
- uses : svenstaro/upload-release-action@v2
69
+ uses : svenstaro/upload-release-action@v2.7.0
70
70
with :
71
71
repo_token : ${{ secrets.GITHUB_TOKEN }}
72
72
file : cmd/n3dr/${{ env.n3dr-deliverable }}.sha512.txt
Original file line number Diff line number Diff line change @@ -11,17 +11,17 @@ jobs:
11
11
needs : [release]
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - uses : actions/checkout@v4
14
+ - uses : actions/checkout@v4.1.1
15
15
with :
16
16
ref : main
17
- - uses : snapcore/action-build@v1
17
+ - uses : snapcore/action-build@v1.2.0
18
18
with :
19
19
path : build/package
20
20
id : snapcraft
21
21
- run : |
22
22
sudo snap install --dangerous ${{ steps.snapcraft.outputs.snap }}
23
23
n3dr --version | grep "[0-9]\."
24
- - uses : snapcore/action-publish@v1
24
+ - uses : snapcore/action-publish@v1.2.0
25
25
env :
26
26
SNAPCRAFT_STORE_CREDENTIALS : ${{ secrets.SNAPCRAFT_LOGIN }}
27
27
with :
You can’t perform that action at this time.
0 commit comments