Skip to content

Commit

Permalink
Fix 0.33.0 release by removing arm builds
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspeitz committed Dec 10, 2021
1 parent a575332 commit 0ff2eb1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
if: github.event.action != 'published'
run: exit 78
- uses: actions/checkout@master
- name: Build docker image
run: docker build -t yace --build-arg VERSION=${{ github.event.release.tag_name }} .
- name: Log into docker
env:
DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -19,16 +21,13 @@ jobs:
- name: Release if tagged
if: "!startswith(github.ref, 'refs/tags/v')"
run: exit 78
- name: Setup buildx
uses: docker/setup-buildx-action@v1
id: buildx
with:
install: true
- name: Build and Publish docker image
run: docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t ghcr.io/nerdswords/yet-another-cloudwatch-exporter:${{ github.event.release.tag_name }} --build-arg VERSION=${{github.event.release.tag_name}} --push .
- name: Tag docker image
run: docker tag yace ghcr.io/nerdswords/yet-another-cloudwatch-exporter:${{ github.event.release.tag_name }}
- name: Build && release binaries
uses: docker://goreleaser/goreleaser:v0.179.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: release
- name: Publish docker image
run: docker push ghcr.io/nerdswords/yet-another-cloudwatch-exporter:${{ github.event.release.tag_name }}
5 changes: 1 addition & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# 0.33.1-alpha
* Fix deployment pipeline (buildx)

# 0.33.0-alpha
* Publishing docker arm image and use buildx to build docker image (@jlamande)
* Add /healthz route which allows to deploy more secure with helm (aleslash)
* Read DMS replication instance identifier from the DMS API (nhinds)

# 0.32.0-alpha
* [BREAKING] Fix the calculation of start and end times for GetMetricData (csquire)
Expand Down

0 comments on commit 0ff2eb1

Please sign in to comment.