Skip to content

Docker Build Rosetta #30

Docker Build Rosetta

Docker Build Rosetta #30

# 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"
permissions:
contents: read
id-token: write #required for GCP Workload Identity federation
jobs:
build:
runs-on: high-perf-docker
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # pin@v3
- uses: aptos-labs/aptos-core/.github/actions/docker-setup@main
with:
GCP_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
GCP_SERVICE_ACCOUNT_EMAIL: ${{ secrets.GCP_SERVICE_ACCOUNT_EMAIL }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DOCKER_ARTIFACT_REPO: ${{ secrets.AWS_DOCKER_ARTIFACT_REPO }}
GIT_CREDENTIALS: ${{ secrets.GIT_CREDENTIALS }}
- name: Build rosetta
run: GIT_REF=main docker/rosetta/docker-build-rosetta.sh