Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 11 additions & 19 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ jobs:
arch:
- amd64
- arm64
image:
- execution-witness-sentry
- zkboost-server
include:
- arch: amd64
runner: ubuntu-latest
Expand All @@ -38,7 +35,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}/${{ matrix.image }}
images: ghcr.io/${{ github.repository }}/zkboost-server
tags: |
type=sha,prefix=,format=short,enable=${{ github.ref == 'refs/heads/master' || github.event_name == 'pull_request' }}
type=semver,pattern={{version}}
Expand All @@ -53,16 +50,16 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build ${{ matrix.image }} image
- name: Build zkboost-server image
uses: docker/build-push-action@v6
with:
context: .
file: docker/Dockerfile.${{ matrix.image }}
file: docker/Dockerfile
push: ${{ github.event_name == 'push' }}
platforms: linux/${{ matrix.arch }}
tags: ghcr.io/${{ github.repository }}/${{ matrix.image }}:${{ steps.meta.outputs.version }}-${{ matrix.arch }}
cache-from: type=gha,scope=${{ matrix.image }}-${{ matrix.arch }}
cache-to: type=gha,mode=max,scope=${{ matrix.image }}-${{ matrix.arch }}
tags: ghcr.io/${{ github.repository }}/zkboost-server:${{ steps.meta.outputs.version }}-${{ matrix.arch }}
cache-from: type=gha,scope=zkboost-server-${{ matrix.arch }}
cache-to: type=gha,mode=max,scope=zkboost-server-${{ matrix.arch }}

merge-manifests:
permissions:
Expand All @@ -71,11 +68,6 @@ jobs:
needs: build-images
runs-on: ubuntu-latest
if: github.event_name == 'push'
strategy:
matrix:
image:
- execution-witness-sentry
- zkboost-server
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand All @@ -89,12 +81,12 @@ jobs:

- name: Create and push multi-arch manifest
run: |
docker buildx imagetools create -t ghcr.io/${{ github.repository }}/${{ matrix.image }}:${{ needs.build-images.outputs.version }} \
ghcr.io/${{ github.repository }}/${{ matrix.image }}:${{ needs.build-images.outputs.version }}-amd64 \
ghcr.io/${{ github.repository }}/${{ matrix.image }}:${{ needs.build-images.outputs.version }}-arm64
docker buildx imagetools create -t ghcr.io/${{ github.repository }}/zkboost-server:${{ needs.build-images.outputs.version }} \
ghcr.io/${{ github.repository }}/zkboost-server:${{ needs.build-images.outputs.version }}-amd64 \
ghcr.io/${{ github.repository }}/zkboost-server:${{ needs.build-images.outputs.version }}-arm64

- name: Tag latest
if: startsWith(github.ref, 'refs/tags/')
run: |
docker buildx imagetools create -t ghcr.io/${{ github.repository }}/${{ matrix.image }}:latest \
ghcr.io/${{ github.repository }}/${{ matrix.image }}:${{ needs.build-images.outputs.version }}
docker buildx imagetools create -t ghcr.io/${{ github.repository }}/zkboost-server:latest \
ghcr.io/${{ github.repository }}/zkboost-server:${{ needs.build-images.outputs.version }}
92 changes: 0 additions & 92 deletions .github/workflows/integration-test.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
toolchain: [1.88]
toolchain: [1.91]
steps:
- uses: actions/checkout@v4

Expand Down
Loading
Loading