Skip to content

fix: optimize opening proof gpu usage #1

fix: optimize opening proof gpu usage

fix: optimize opening proof gpu usage #1

name: Build and Push Docker Image
on:
push:
paths:
- '.github/workflows/Dockerfile'
branches: [main]
pull_request:
paths:
- '.github/workflows/Dockerfile'
branches: ['**', main]
jobs:
build-docker:
name: Build and Push Docker Image
runs-on: ubuntu-latest
outputs:
docker_digest: ${{ steps.build.outputs.digest }}
steps:
- name: Checkout Repo
uses: actions/checkout@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 Docker Image
id: build
uses: docker/build-push-action@v4
with:
push: true
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/jolt-icicle-image:latest
cache-to: type=inline
tags: |
ghcr.io/${{ github.repository_owner }}/jolt-icicle-image:latest
outputs: type=digest
- name: Log Docker Digest
run:
echo "Image Digest: ${{ steps.build.outputs.digest }}"

Check failure on line 43 in .github/workflows/docker-build-publish.yml

View workflow run for this annotation

GitHub Actions / Build and Push Docker Image

Invalid workflow file

The workflow is not valid. .github/workflows/docker-build-publish.yml (Line: 43, Col: 11): A mapping was not expected