Skip to content

feat(server): make fix loops resumable and analytics recomputable #75

feat(server): make fix loops resumable and analytics recomputable

feat(server): make fix loops resumable and analytics recomputable #75

Workflow file for this run

# Build and push Docker image to ghcr.io on every merge to main.
# Keeps ghcr.io/evalops/diffscope:latest available for the DiffScope Review workflow.
name: Publish image
on:
push:
branches:
- main
concurrency:
group: publish-image-main
cancel-in-progress: false
jobs:
build-and-push:
name: Build and push Docker image
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
tags: |
ghcr.io/evalops/diffscope:latest
ghcr.io/evalops/diffscope:sha-${{ github.sha }}