Skip to content

Merge pull request #132 from coreweave/bchess/subprocess_serialization #625

Merge pull request #132 from coreweave/bchess/subprocess_serialization

Merge pull request #132 from coreweave/bchess/subprocess_serialization #625

Workflow file for this run

on: [push, pull_request]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
name: Build & push docker image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v1
with:
registry: ${{env.REGISTRY}}
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/[email protected]
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags:
type=sha,enable=true,priority=100,prefix=benchmark-,suffix=,format=short
- name: Build and push Docker image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: .
file: examples/benchmark_buffer_size/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}