Skip to content

Docker Build Rosetta #16

Docker Build Rosetta

Docker Build Rosetta #16

# 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