[StepSecurity] ci: Harden GitHub Actions
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
This commit is contained in:
16
.github/workflows/nightly.yml
vendored
16
.github/workflows/nightly.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
||||
working-directory: src/github.com/containerd/containerd
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
with:
|
||||
path: src/github.com/containerd/containerd
|
||||
|
||||
@@ -99,31 +99,31 @@ jobs:
|
||||
#
|
||||
|
||||
- name: Upload artifacts (linux_amd64)
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
|
||||
with:
|
||||
name: linux_amd64
|
||||
path: src/github.com/containerd/containerd/bin_amd64
|
||||
|
||||
- name: Upload artifacts (linux_arm64)
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
|
||||
with:
|
||||
name: linux_arm64
|
||||
path: src/github.com/containerd/containerd/bin_arm64
|
||||
|
||||
- name: Upload artifacts (linux_s390x)
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
|
||||
with:
|
||||
name: linux_s390x
|
||||
path: src/github.com/containerd/containerd/bin_s390x
|
||||
|
||||
- name: Upload artifacts (linux_ppc64le)
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
|
||||
with:
|
||||
name: linux_ppc64le
|
||||
path: src/github.com/containerd/containerd/bin_ppc64le
|
||||
|
||||
- name: Upload artifacts (linux_riscv64)
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
|
||||
with:
|
||||
name: linux_riscv64
|
||||
path: src/github.com/containerd/containerd/bin_riscv64
|
||||
@@ -138,7 +138,7 @@ jobs:
|
||||
working-directory: src/github.com/containerd/containerd
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
with:
|
||||
path: src/github.com/containerd/containerd
|
||||
|
||||
@@ -158,7 +158,7 @@ jobs:
|
||||
make binaries
|
||||
|
||||
- name: Upload artifacts (windows_amd64)
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
|
||||
with:
|
||||
name: windows_amd64
|
||||
path: src/github.com/containerd/containerd/bin/
|
||||
|
||||
Reference in New Issue
Block a user