From 239cb77baefc0eab6ca663952590082390e51080 Mon Sep 17 00:00:00 2001 From: Lan Liang Date: Fri, 10 May 2024 05:36:40 +0000 Subject: [PATCH] chore: downgrade github artifact to v3 from v4 for release docker image. artifact v4 do not support upload artifact with the same name, https://github.com/actions/upload-artifact?tab=readme-ov-file#not-uploading-to-the-same-artifact , so this is working for downgrade v4 to v3, until we get rid of using github jobs to build multi-architecture container images. see https://github.com/xline-kv/Xline/pull/809 Signed-off-by: Lan Liang --- .github/dependabot.yml | 6 ++++++ .github/workflows/docker_image.yml | 2 +- .github/workflows/merge_image.yml | 2 +- .github/workflows/release.yml | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c00467b0b..88e706f88 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,6 +9,12 @@ updates: # 5 by default # see https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#open-pull-requests-limit open-pull-requests-limit: 10 + ignore: + - dependency-name: 'actions/upload-artifact' + #ignore all updates greater than or equal to version 4 + versions: '>= 4' + - dependency-name: 'actions/download-artifact' + versions: '>= 4' - package-ecosystem: "cargo" directory: "/" schedule: diff --git a/.github/workflows/docker_image.yml b/.github/workflows/docker_image.yml index 250b4763a..e6c596940 100644 --- a/.github/workflows/docker_image.yml +++ b/.github/workflows/docker_image.yml @@ -100,7 +100,7 @@ jobs: touch "/tmp/digests/${digest#sha256:}" - name: Upload Digest - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: digests path: /tmp/digests/* diff --git a/.github/workflows/merge_image.yml b/.github/workflows/merge_image.yml index 09b4b7dac..082fd5ead 100644 --- a/.github/workflows/merge_image.yml +++ b/.github/workflows/merge_image.yml @@ -16,7 +16,7 @@ jobs: name: Merge Docker Image steps: - name: Download Digests - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v3 with: name: digests path: /tmp/digests diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5d37391b6..4a11e2994 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -141,7 +141,7 @@ jobs: touch "/tmp/digests/${digest#sha256:}" - name: Upload Digest - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 if: startsWith(matrix.job.platform, 'linux/') with: name: digests