From 2710d6ab42c31cf65125d83ea41b2a6d7e2fbea5 Mon Sep 17 00:00:00 2001 From: Roman Novatorov Date: Wed, 23 Sep 2026 13:43:24 +0200 Subject: [PATCH] ci: bump docker job actions the docker jobs still pin node16-era majors (checkout v2, buildx/login v1, metadata v3, build-push v2) which run on forced compatibility shims and emit deprecation warnings. bump to current stable majors; build-push v7 needs runner v2.327.1+ which ubuntu-latest satisfies. checkout is aligned to v4 (not v7) to match the rest of ci.yml and keep one major per action repo-wide. --- .github/workflows/ci.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 224cee6..d3e4dc4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,31 +49,31 @@ jobs: runs-on: "ubuntu-latest" if: ${{ startsWith(github.ref, 'refs/tags/v') }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set Up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v4 - name: Build the image run: make docker-image - name: Login To DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v4 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Docker Meta id: docker_meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v6 with: images: enapter/python-sdk tags: | type=raw,value=${{ github.ref_name }} - name: Build And Push To DockerHub - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v7 with: context: . push: true @@ -86,17 +86,17 @@ jobs: runs-on: "ubuntu-latest" if: ${{ startsWith(github.ref, 'refs/tags/v') }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set Up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v4 - name: Build The Image run: make docker-image - name: Login To DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v4 with: registry: docker.enapter.com username: ${{ secrets.ENAPTER_DOCKERHUB_USERNAME }} @@ -104,14 +104,14 @@ jobs: - name: Docker Meta id: enapter_docker_meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v6 with: images: docker.enapter.com/python/sdk tags: | type=raw,value=${{ github.ref_name }} - name: Build And Push To DockerHub - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v7 with: context: . push: true