Skip to content

Using Ingester Id as a tiebreaker for MinimizeSpreadTokenGenerator (#… #3

Using Ingester Id as a tiebreaker for MinimizeSpreadTokenGenerator (#…

Using Ingester Id as a tiebreaker for MinimizeSpreadTokenGenerator (#… #3

Workflow file for this run

name: Build Image
on:
push:
branches: [ master ]
paths:
- 'build-image/**'
- '.github/workflows/build-image.yml'
pull_request:
branches: [ master ]
paths:
- 'build-image/**'
- '.github/workflows/build-image.yml'
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
name: Checkout
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Save image
run: make save-multiarch-build-image
- name: Upload Docker Images Artifacts
uses: actions/upload-artifact@v4
with:
name: build-image
path: |
./build-image-amd64.tar
./build-image-arm64.tar
if-no-files-found: error
push:
needs: build
if: (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) && github.repository == 'cortexproject/cortex'
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
name: Checkout
with:
fetch-depth: 0
- name: Download Docker Images Artifacts
uses: actions/download-artifact@v4
with:
name: build-image
- name: Load image
run: make load-multiarch-build-image
- name: Login to Quay.io
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{secrets.QUAY_REGISTRY_USER}}
password: ${{secrets.QUAY_REGISTRY_PASSWORD}}
- name: Push image
run: make push-multiarch-build-image