Skip to content

move locks into scopes #1646

move locks into scopes

move locks into scopes #1646

Workflow file for this run

name: Build only docker image
on:
push:
branches-ignore:
- 'main'
- 'v*'
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
env:
REGISTRY: ghcr.io
jobs:
docker:
runs-on:
labels: ubuntu-22.04-64core
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docker image
uses: docker/build-push-action@v6
with:
context: .
push: false
tags: ghcr.io/worldcoin/gpu-iris-mpc:${{ github.sha }}
platforms: linux/amd64
cache-from: type=gha
cache-to: type=gha,mode=max