Skip to content

fix: use correct shim path when containerd opt is preconfigured #49

fix: use correct shim path when containerd opt is preconfigured

fix: use correct shim path when containerd opt is preconfigured #49

Workflow file for this run

name: Build and Publish CRIU image
on:
push:
paths:
- criu/**
env:
REGISTRY: ghcr.io
CRIU_IMAGE_NAME: ${{ github.repository }}-criu
CRIU_VERSION: v3.19
jobs:
push_to_registry:
permissions: write-all
name: Push Docker images
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Extract metadata for criu
id: meta_criu
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: ${{ env.REGISTRY }}/${{ env.CRIU_IMAGE_NAME }}
- name: Build and push criu
uses: docker/build-push-action@v4
with:
context: ./criu
file: ./criu/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.REGISTRY }}/${{ env.CRIU_IMAGE_NAME }}:${{ env.CRIU_VERSION }}
labels: ${{ steps.meta_criu.outputs.labels }}
build-args: CRIU_VERSION=${{ env.CRIU_VERSION }}