chore: add script to count fetched ids #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build ClickHouse auto-import image | |
on: [push, workflow_dispatch] | |
jobs: | |
images: | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/develop' | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Setup Docker buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Log in to the GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push container image to GitHub Container Registry | |
uses: docker/build-push-action@v5 | |
with: | |
labels: | | |
org.opencontainers.image.revision=${{ github.sha }} | |
file: Dockerfile.clickhouse-auto-import | |
push: true | |
platforms: linux/amd64,linux/arm64 | |
tags: | | |
ghcr.io/ar-io/ar-io-clickhouse-auto-import:latest | |
ghcr.io/ar-io/ar-io-clickhouse-auto-import:${{ github.sha }} |