Skip to content

Updating API descriptions (#100) #26

Updating API descriptions (#100)

Updating API descriptions (#100) #26

name: "[Tools] Rust Examples Docker Image"
on:
workflow_dispatch:
push:
branches: [ master ]
paths:
- 'rust/**'
- 'proto/**'
jobs:
build-example-image:
name: "[Tools] Build Rust Examples Docker Image"
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: ${{ vars.ECR_ROLE }}
aws-region: ${{ vars.DEFAULT_ECR_REGISTRY_REGION }}
- uses: aws-actions/amazon-ecr-login@v2
- uses: docker/build-push-action@v6
with:
platforms: linux/amd64
context: .
file: rust/Dockerfile
push: true
tags: ${{ vars.DEFAULT_ECR_REGISTRY }}/rust-api-examples:latest