Skip to content

perf: reduce memory consumption (#19) #52

perf: reduce memory consumption (#19)

perf: reduce memory consumption (#19) #52

Workflow file for this run

name: docker
on: [push]
jobs:
docker:
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: linux/amd64,linux/arm64
image: tonistiigi/binfmt:qemu-v7.0.0-28
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Configure image tag
id: image_tag
run: |
echo "image_tag=$(date +%Y%m%d)-${GITHUB_SHA::7}" >> $GITHUB_ENV
- name: login to aliyun
uses: docker/login-action@v3
with:
registry: greptime-registry.cn-hangzhou.cr.aliyuncs.com
username: ${{ secrets.GREPTIME_REGISTRY_USERNAME }}
password: ${{ secrets.GREPTIME_REGISTRY_PASSWORD }}
- name: Build and push image
uses: docker/build-push-action@v6
with:
file: ./Dockerfile
platforms: linux/amd64
push: true
tags: |
greptime-registry.cn-hangzhou.cr.aliyuncs.com/tools/metrics-loader:${{ env.image_tag }}