Skip to content

Commit 9bf1ba0

Browse files
synaretemergify[bot]
authored andcommitted
workflows: upgrade to checkout@v4
Eliminate github's warning ("Node.js 16 actions are deprecated") by upgrading to 'checkout@v4'. Signed-off-by: Shachar Sharon <[email protected]>
1 parent 33921f9 commit 9bf1ba0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/container-image.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
checks:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121
# We need a newer version of shellcheck to avoid problems with the
2222
# relative imports. Our scripts work on v0.7.2 and up but not the
2323
# v0.7.0 preinstalled in the ubutnu image. We can force a local
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: ubuntu-latest
3030
if: github.event_name == 'pull_request'
3131
steps:
32-
- uses: actions/checkout@v3
32+
- uses: actions/checkout@v4
3333
with:
3434
fetch-depth: 0
3535
ref: ${{ github.event.pull_request.head.sha }}
@@ -59,7 +59,7 @@ jobs:
5959
BUILDAH_FORMAT: oci
6060
IMG_TAG: ${{ matrix.package_source }}-${{ matrix.os }}-${{ matrix.arch }}
6161
steps:
62-
- uses: actions/checkout@v3
62+
- uses: actions/checkout@v4
6363
- name: Build the server image
6464
run: make KIND=server PACKAGE_SOURCE=${{ matrix.package_source }} OS_NAME=${{ matrix.os}} BUILD_ARCH=${{ matrix.arch}} build-image
6565
- name: Upload server image
@@ -87,7 +87,7 @@ jobs:
8787
BUILDAH_FORMAT: oci
8888
IMG_TAG: ${{ matrix.package_source }}-${{ matrix.os }}-${{ matrix.arch }}
8989
steps:
90-
- uses: actions/checkout@v3
90+
- uses: actions/checkout@v4
9191
- name: Build the ad server image
9292
run: make KIND=ad-server PACKAGE_SOURCE=${{ matrix.package_source }} OS_NAME=${{ matrix.os }} BUILD_ARCH=${{ matrix.arch }} build-image
9393
- name: Upload ad server image
@@ -107,7 +107,7 @@ jobs:
107107
BUILDAH_FORMAT: oci
108108
IMG_TAG: default-${{ matrix.os }}-${{ matrix.arch }}
109109
steps:
110-
- uses: actions/checkout@v3
110+
- uses: actions/checkout@v4
111111
- name: build the client image
112112
run: make KIND=client OS_NAME=${{ matrix.os }} BUILD_ARCH=${{ matrix.arch }} build-image
113113
# The client image is used as a base for the samba-toolbox build process.
@@ -129,7 +129,7 @@ jobs:
129129
BUILDAH_FORMAT: oci
130130
IMG_TAG: default-${{ matrix.os }}-${{ matrix.arch }}
131131
steps:
132-
- uses: actions/checkout@v3
132+
- uses: actions/checkout@v4
133133
# Download locally stored samba-client image to be used as base for building
134134
# samba-toolbox.
135135
- name: Download client image
@@ -173,7 +173,7 @@ jobs:
173173
BUILDAH_FORMAT: oci
174174
IMG_TAG: ${{ matrix.package_source }}-${{ matrix.os }}-${{ matrix.arch }}
175175
steps:
176-
- uses: actions/checkout@v3
176+
- uses: actions/checkout@v4
177177
- name: Download server image
178178
uses: ishworkh/[email protected]
179179
with:
@@ -204,7 +204,7 @@ jobs:
204204
BUILDAH_FORMAT: oci
205205
IMG_TAG: ${{ matrix.package_source }}-${{ matrix.os }}-${{ matrix.arch }}
206206
steps:
207-
- uses: actions/checkout@v3
207+
- uses: actions/checkout@v4
208208
- uses: nolar/setup-k3d-k3s@v1
209209
- name: get nodes
210210
run: kubectl get nodes
@@ -235,7 +235,7 @@ jobs:
235235
REPO_BASE: quay.io/samba.org
236236
if: (github.event_name == 'push' || github.event_name == 'schedule') && github.repository == 'samba-in-kubernetes/samba-container'
237237
steps:
238-
- uses: actions/checkout@v3
238+
- uses: actions/checkout@v4
239239
- name: log in to quay.io
240240
run: ${CONTAINER_CMD} login -u "${{ secrets.QUAY_USER }}" -p "${{ secrets.QUAY_PASS }}" quay.io
241241
# pull in already built images we plan on pushing

0 commit comments

Comments
 (0)