Skip to content

Merge pull request #1283 from Altinity/0.22.1 #56

Merge pull request #1283 from Altinity/0.22.1

Merge pull request #1283 from Altinity/0.22.1 #56

Workflow file for this run

name: build_master
on:
push:
branches:
- master
jobs:
build_master:
name: Build master
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push Docker images
env:
DOCKER_ORG: ${{ secrets.DOCKER_ORG }}
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
run: |
export CHO_RELEASE=latest
echo "${DOCKER_PASS}" | docker login -u $DOCKER_USER --password-stdin docker.io
docker buildx build --progress plain --platform=linux/amd64,linux/arm64 -f dockerfile/operator/Dockerfile -t docker.io/${DOCKER_ORG}/clickhouse-operator:${CHO_RELEASE} --pull --push .
docker buildx build --progress plain --platform=linux/amd64,linux/arm64 -f dockerfile/metrics-exporter/Dockerfile -t docker.io/${DOCKER_ORG}/metrics-exporter:${CHO_RELEASE} --pull --push .