Skip to content

Commit

Permalink
Change total item per DB panel unit to short (#955)
Browse files Browse the repository at this point in the history
  • Loading branch information
guoard authored and oliver006 committed Oct 14, 2024
1 parent 1928b50 commit 7d112c0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
omitBodyDuringUpdate: true


docker-push-scratch-image-docker:
build-and-push-docker-images:
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -93,13 +93,26 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
build-args: "TAG=${{ github.ref_name }},SHA1=${{ github.sha }}"

- name: Docker meta for alpine
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
oliver006/redis_exporter
ghcr.io/oliver006/redis_exporter
quay.io/oliver006/redis_exporter
flavor: |
latest=false
prefix=
suffix=alpine
- name: Build and push alpine image
uses: docker/build-push-action@v6
with:
context: .
target: alpine
platforms: linux/amd64,linux/arm,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }},alpine
tags: alpine,${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: "TAG=${{ github.ref_name }},SHA1=${{ github.sha }}"
2 changes: 1 addition & 1 deletion contrib/grafana_prometheus_redis_dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@
}
]
},
"unit": "none",
"unit": "short",
"unitScale": true
},
"overrides": [
Expand Down

0 comments on commit 7d112c0

Please sign in to comment.