Skip to content

Commit

Permalink
debug-aws-ecr-400
Browse files Browse the repository at this point in the history
  • Loading branch information
vmercierfr committed Oct 12, 2023
1 parent 312b19e commit ad2058c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion scripts/helm-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ad2058c

Please sign in to comment.