Skip to content

Commit 6a7878b

Browse files
committed
ci: bump GitHub Actions via pinact
Update pinned actions in build-container-image.yml and check-i18n.yml to their latest major versions: - actions/checkout: v3.6.0 / v2.7.0 -> v6.0.2 - docker/setup-qemu-action: v2.2.0 -> v4.0.0 - docker/setup-buildx-action: v2.10.0 -> v4.0.0 - docker/login-action: v2.2.0 -> v4.0.0 - docker/metadata-action: v4.6.0 -> v6.0.0 - docker/build-push-action: v4.2.1 -> v7.0.0 All v4 Docker actions and checkout v5+ require Node 24 runtime (Actions Runner v2.327.1+), which is satisfied by ubuntu-latest. No breaking inputs/outputs used by these workflows were removed. Note: build-push-action v6+ enables build summary by default.
1 parent 1299427 commit 6a7878b

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/build-container-image.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323
runs-on: ubuntu-latest
2424

2525
steps:
26-
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
26+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2727

28-
- uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2.2.0
28+
- uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
2929
if: contains(inputs.platforms, 'linux/arm64') && !inputs.use_native_arm64_builder
3030

31-
- uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2.10.0
31+
- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
3232
id: buildx
3333
if: ${{ !(inputs.use_native_arm64_builder && contains(inputs.platforms, 'linux/arm64')) }}
3434

@@ -37,7 +37,7 @@ jobs:
3737
run: |
3838
docker run --rm -d --name buildkitd -p 1234:1234 --privileged moby/buildkit:latest --addr tcp://0.0.0.0:1234
3939
40-
- uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2.10.0
40+
- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
4141
id: buildx-native
4242
if: inputs.use_native_arm64_builder && contains(inputs.platforms, 'linux/arm64')
4343
with:
@@ -57,20 +57,20 @@ jobs:
5757

5858
- name: Log in to Docker Hub
5959
if: contains(inputs.push_to_images, 'tootsuite')
60-
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
60+
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
6161
with:
6262
username: ${{ secrets.DOCKERHUB_USERNAME }}
6363
password: ${{ secrets.DOCKERHUB_TOKEN }}
6464

6565
- name: Log in to the Github Container registry
6666
if: contains(inputs.push_to_images, 'ghcr.io')
67-
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
67+
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
6868
with:
6969
registry: ghcr.io
7070
username: ${{ github.actor }}
7171
password: ${{ secrets.GITHUB_TOKEN }}
7272

73-
- uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4.6.0
73+
- uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0
7474
id: meta
7575
if: ${{ inputs.push_to_images != '' }}
7676
with:
@@ -79,7 +79,7 @@ jobs:
7979
tags: ${{ inputs.tags }}
8080
labels: ${{ inputs.labels }}
8181

82-
- uses: docker/build-push-action@0a97817b6ade9f46837855d676c4cca3a2471fc9 # v4.2.1
82+
- uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
8383
with:
8484
context: .
8585
platforms: ${{ inputs.platforms }}

.github/workflows/check-i18n.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
17+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1818
- name: Install system dependencies
1919
run: |
2020
sudo apt-get update

0 commit comments

Comments
 (0)