Skip to content

switch high-perf-docker to runs-on.com runners #128

switch high-perf-docker to runs-on.com runners

switch high-perf-docker to runs-on.com runners #128

# Continuously build Rosetta
name: Docker Build Rosetta
on:
schedule:
- cron: "0 9 * * 1" # once a week
pull_request:
paths:
- ".github/workflows/docker-build-rosetta.yaml"
# build on changes to dockerfile and build script
- "docker/rosetta/docker-build-rosetta.sh"
- "docker/rosetta/rosetta.Dockerfile"
permissions:
contents: read
id-token: write #required for GCP Workload Identity federation
jobs:
build:
runs-on: runs-on,cpu=64,family=c7,hdd=200,image=ubuntu22-full-x64,run-id=${{ github.run_id }}
steps:
- uses: actions/checkout@v3
- uses: aptos-labs/aptos-core/.github/actions/buildx-setup@main
- name: Build rosetta
run: GIT_REF=main docker/rosetta/docker-build-rosetta.sh