From b84fdbb759d0691e5a3d03e56062618597ef2a94 Mon Sep 17 00:00:00 2001 From: Rick Bongers Date: Thu, 21 Mar 2024 08:33:09 +0100 Subject: [PATCH 1/2] fix: skip sentry error when no commit found --- pipe/pipe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipe/pipe.sh b/pipe/pipe.sh index a7fc529..76dfc65 100755 --- a/pipe/pipe.sh +++ b/pipe/pipe.sh @@ -74,7 +74,7 @@ create_sentry_release() { sentry-cli releases new --finalize --project "${PROJECT_NAME}" "${SENTRY_RELEASE}" success "Created new Sentry release" - sentry-cli releases set-commits --ignore-empty --ignore-missing --auto "${SENTRY_RELEASE}" + sentry-cli releases set-commits --ignore-empty --ignore-missing --auto "${SENTRY_RELEASE}" || true success "Associate commits with the release" } From eb8cd5952cd55c1dae56e8524338ffc9deab1e79 Mon Sep 17 00:00:00 2001 From: Rick Bongers Date: Thu, 21 Mar 2024 09:53:38 +0100 Subject: [PATCH 2/2] fix: build multi arg --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 build.sh diff --git a/build.sh b/build.sh old mode 100644 new mode 100755 index 2cf210f..fb040c4 --- a/build.sh +++ b/build.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash docker login -docker build -t programic/pipe-deploy-swarm:latest . -docker push programic/pipe-deploy-swarm:latest \ No newline at end of file +docker buildx create --name docker-multiplatform --bootstrap --use +docker buildx build --push --platform linux/amd64,linux/arm64,linux/arm/v8 -t programic/pipe-deploy-swarm:latest . \ No newline at end of file