From 9145143e543fa7ddefc7b7c1795020825dd15c9c Mon Sep 17 00:00:00 2001 From: Eguo Wang Date: Thu, 28 Dec 2023 11:23:46 +0800 Subject: [PATCH] fix: replace matrix.platform with env.DIGEST --- .github/workflows/docker.yml | 3 ++- Cargo.lock | 12 ++++++------ Cargo.toml | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index ac439a0..6e75b2f 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -66,11 +66,12 @@ jobs: mkdir -p "/tmp/digests/${{ matrix.bin }}" digest="${{ steps.build.outputs.digest }}" touch "/tmp/digests/${{ matrix.bin }}/${digest#sha256:}" + echo "DIGEST=${digest#sha256:}" >> $GITHUB_ENV - name: Upload digests uses: actions/upload-artifact@v4 with: - name: ${{ matrix.bin }}-digests-${{ matrix.platform }} + name: ${{ matrix.bin }}-digests-${{ env.DIGEST }} path: /tmp/digests/${{ matrix.bin }}/* if-no-files-found: error retention-days: 1 diff --git a/Cargo.lock b/Cargo.lock index cca6a07..24f2cee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -61,7 +61,7 @@ checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" [[package]] name = "amp-apiserver" -version = "0.6.14" +version = "0.6.15" dependencies = [ "amp-common", "amp-resources", @@ -121,7 +121,7 @@ dependencies = [ [[package]] name = "amp-controllers" -version = "0.6.14" +version = "0.6.15" dependencies = [ "amp-common", "amp-resolver", @@ -146,7 +146,7 @@ dependencies = [ [[package]] name = "amp-crdgen" -version = "0.6.14" +version = "0.6.15" dependencies = [ "amp-common", "clap", @@ -158,7 +158,7 @@ dependencies = [ [[package]] name = "amp-resolver" -version = "0.6.14" +version = "0.6.15" dependencies = [ "amp-common", "amp-resources", @@ -172,7 +172,7 @@ dependencies = [ [[package]] name = "amp-resources" -version = "0.6.14" +version = "0.6.15" dependencies = [ "amp-common", "anyhow", @@ -192,7 +192,7 @@ dependencies = [ [[package]] name = "amp-syncer" -version = "0.6.14" +version = "0.6.15" dependencies = [ "amp-common", "async-nats", diff --git a/Cargo.toml b/Cargo.toml index 224579f..ff0828c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "0.6.14" +version = "0.6.15" edition = "2021" license = "Apache-2.0" repository = "https://github.com/amphitheatre-app/amphitheatre"