From 6f1f0bf493a2e64cf0ca566d166d20f4c6999053 Mon Sep 17 00:00:00 2001 From: Florian Wilhelm Date: Thu, 14 Mar 2024 16:01:05 +0100 Subject: [PATCH] fix --- .github/workflows/image.yml | 18 ++++-------------- .github/workflows/repo.yml | 18 ++++-------------- .github/workflows/sysexts.yml | 9 ++------- 3 files changed, 10 insertions(+), 35 deletions(-) diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index acf3b87..d199168 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -17,13 +17,8 @@ jobs: run: | tmpdir="$(mktemp -d)" pushd "$tmpdir" - if [ "${{ matrix.arch }}" = "amd64" ]; then - curl -Lo ./crun https://github.com/containers/crun/releases/download/1.14.3/crun-1.14.3-linux-amd64 - GOOD_SHA=80c5ab9422d4672f650f2bad3da933568349b64117d055486abc3534517be2af - elif [ "${{ matrix.arch }}" = "arm64" ]; then - curl -Lo ./crun https://github.com/containers/crun/releases/download/1.14.3/crun-1.14.3-linux-arm64 - GOOD_SHA=0486629e1599c3bccded279f6555ff22691958cde56203ceca099af6f2407263 - fi + curl -Lo ./crun https://github.com/containers/crun/releases/download/1.14.3/crun-1.14.3-linux-amd64 + GOOD_SHA=80c5ab9422d4672f650f2bad3da933568349b64117d055486abc3534517be2af sha256sum ./crun OUR_SHA=$(sha256sum ./crun | awk '{ print $1 }') @@ -70,13 +65,8 @@ jobs: run: | tmpdir="$(mktemp -d)" pushd "$tmpdir" - if [ "${{ matrix.arch }}" = "amd64" ]; then - curl -Lo ./crun https://github.com/containers/crun/releases/download/1.14.3/crun-1.14.3-linux-amd64 - GOOD_SHA=80c5ab9422d4672f650f2bad3da933568349b64117d055486abc3534517be2af - elif [ "${{ matrix.arch }}" = "arm64" ]; then - curl -Lo ./crun https://github.com/containers/crun/releases/download/1.14.3/crun-1.14.3-linux-arm64 - GOOD_SHA=0486629e1599c3bccded279f6555ff22691958cde56203ceca099af6f2407263 - fi + curl -Lo ./crun https://github.com/containers/crun/releases/download/1.14.3/crun-1.14.3-linux-amd64 + GOOD_SHA=80c5ab9422d4672f650f2bad3da933568349b64117d055486abc3534517be2af sha256sum ./crun OUR_SHA=$(sha256sum ./crun | awk '{ print $1 }') diff --git a/.github/workflows/repo.yml b/.github/workflows/repo.yml index c8df8eb..2780105 100644 --- a/.github/workflows/repo.yml +++ b/.github/workflows/repo.yml @@ -21,13 +21,8 @@ jobs: run: | tmpdir="$(mktemp -d)" pushd "$tmpdir" - if [ "${{ matrix.arch }}" = "amd64" ]; then - curl -Lo ./crun https://github.com/containers/crun/releases/download/1.14.3/crun-1.14.3-linux-amd64 - GOOD_SHA=80c5ab9422d4672f650f2bad3da933568349b64117d055486abc3534517be2af - elif [ "${{ matrix.arch }}" = "arm64" ]; then - curl -Lo ./crun https://github.com/containers/crun/releases/download/1.14.3/crun-1.14.3-linux-arm64 - GOOD_SHA=0486629e1599c3bccded279f6555ff22691958cde56203ceca099af6f2407263 - fi + curl -Lo ./crun https://github.com/containers/crun/releases/download/1.14.3/crun-1.14.3-linux-amd64 + GOOD_SHA=80c5ab9422d4672f650f2bad3da933568349b64117d055486abc3534517be2af sha256sum ./crun OUR_SHA=$(sha256sum ./crun | awk '{ print $1 }') @@ -74,13 +69,8 @@ jobs: run: | tmpdir="$(mktemp -d)" pushd "$tmpdir" - if [ "${{ matrix.arch }}" = "amd64" ]; then - curl -Lo ./crun https://github.com/containers/crun/releases/download/1.14.3/crun-1.14.3-linux-amd64 - GOOD_SHA=80c5ab9422d4672f650f2bad3da933568349b64117d055486abc3534517be2af - elif [ "${{ matrix.arch }}" = "arm64" ]; then - curl -Lo ./crun https://github.com/containers/crun/releases/download/1.14.3/crun-1.14.3-linux-arm64 - GOOD_SHA=0486629e1599c3bccded279f6555ff22691958cde56203ceca099af6f2407263 - fi + curl -Lo ./crun https://github.com/containers/crun/releases/download/1.14.3/crun-1.14.3-linux-amd64 + GOOD_SHA=80c5ab9422d4672f650f2bad3da933568349b64117d055486abc3534517be2af sha256sum ./crun OUR_SHA=$(sha256sum ./crun | awk '{ print $1 }') diff --git a/.github/workflows/sysexts.yml b/.github/workflows/sysexts.yml index 1f18d69..e890d78 100644 --- a/.github/workflows/sysexts.yml +++ b/.github/workflows/sysexts.yml @@ -17,13 +17,8 @@ jobs: run: | tmpdir="$(mktemp -d)" pushd "$tmpdir" - if [ "${{ matrix.arch }}" = "amd64" ]; then - curl -Lo ./crun https://github.com/containers/crun/releases/download/1.14.3/crun-1.14.3-linux-amd64 - GOOD_SHA=80c5ab9422d4672f650f2bad3da933568349b64117d055486abc3534517be2af - elif [ "${{ matrix.arch }}" = "arm64" ]; then - curl -Lo ./crun https://github.com/containers/crun/releases/download/1.14.3/crun-1.14.3-linux-arm64 - GOOD_SHA=0486629e1599c3bccded279f6555ff22691958cde56203ceca099af6f2407263 - fi + curl -Lo ./crun https://github.com/containers/crun/releases/download/1.14.3/crun-1.14.3-linux-amd64 + GOOD_SHA=80c5ab9422d4672f650f2bad3da933568349b64117d055486abc3534517be2af sha256sum ./crun OUR_SHA=$(sha256sum ./crun | awk '{ print $1 }')