Attempt #2: switch high-perf-docker to runs-on.com runners #146
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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=500,image=aptos-ubuntu-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 |