From ad2058c8e67b0feb9f658f1d073f6896c964b749 Mon Sep 17 00:00:00 2001 From: Vincent Mercier Date: Thu, 12 Oct 2023 16:54:09 +0200 Subject: [PATCH] debug-aws-ecr-400 --- .github/workflows/build.yaml | 29 ++++++++++++++--------------- scripts/helm-release.sh | 2 +- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index db1e06d..6397312 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -2,8 +2,7 @@ name: build run-name: building and publishing new release on: push: - # run only against tags - tags: + branches: - "*" permissions: contents: write # allows the action to create a Github release @@ -34,20 +33,20 @@ jobs: - run: git fetch --force --tags - - uses: actions/setup-go@v4 - with: - go-version: stable + # - uses: actions/setup-go@v4 + # with: + # go-version: stable - - name: Set up QEMU for ARM64 build - uses: docker/setup-qemu-action@v3 + # - name: Set up QEMU for ARM64 build + # uses: docker/setup-qemu-action@v3 - - uses: goreleaser/goreleaser-action@v5 - with: - distribution: goreleaser - version: latest - args: release --clean - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # - uses: goreleaser/goreleaser-action@v5 + # with: + # distribution: goreleaser + # version: latest + # args: release --clean + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Configure AWS credentials for helm chart uses: aws-actions/configure-aws-credentials@v4 @@ -63,4 +62,4 @@ jobs: mask-password: 'true' - name: Helm release - run: make helm-release + run: ./scripts/helm-release.sh prometheus-rds-exporter-chart configs/helm 0.2.3-rc2 qonto diff --git a/scripts/helm-release.sh b/scripts/helm-release.sh index 9ceb63a..a086d0c 100755 --- a/scripts/helm-release.sh +++ b/scripts/helm-release.sh @@ -58,7 +58,7 @@ build() { } publish() { - helm push ${CHART_NAME}-${RELEASE_VERSION}.tgz oci://public.ecr.aws/${REPOSITORY} + helm push --debug ${CHART_NAME}-${RELEASE_VERSION}.tgz oci://public.ecr.aws/${REPOSITORY} } check_parameters