Skip to content
Draft
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
17 changes: 6 additions & 11 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
static-code-analysis:
runs-on: ubuntu-24.04
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
run: mypy

check-compiled-requirements:
runs-on: ubuntu-24.04
runs-on: blacksmith-4vcpu-ubuntu-2404
if: ${{ !contains(github.event.head_commit.message, '#notests') }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
matrix:
include:
- arch: amd64
runs-on: ubuntu-24.04
runs-on: blacksmith-4vcpu-ubuntu-2404
- arch: arm64
runs-on: gh-arm64-runners

Expand Down Expand Up @@ -109,11 +109,8 @@ jobs:
run: |
docker context create container-builder

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: latest
endpoint: container-builder
- name: Setup Blacksmith Builder
uses: useblacksmith/setup-docker-builder@v1

- name: Login to DockerHub
# if: ${{ github.ref == 'master' && github.event.pull_request.merged == true }}
Expand All @@ -123,15 +120,13 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push sync-engine images
uses: docker/build-push-action@v5
uses: useblacksmith/build-push-action@v2
with:
platforms: linux/${{ matrix.arch }}
push: false
load: true
tags: |
${{ env.DOCKER_IMAGE_TAG }}
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
BUILD_CACHE_BUST=${{ env.BUILD_CACHE_BUST }}
BUILD_WEEK=${{ env.BUILD_WEEK }}
Expand Down