Skip to content

ryot arm64

ryot arm64 #19

Workflow file for this run

name: ryot arm64
on:
workflow_dispatch:
schedule:
- cron: "30 6 * * 0"
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout ryot Repository
uses: actions/checkout@v4
with:
repository: IgnisDa/ryot
-
name: Change build to arm64
run: |
sed -i 's/RUN rustup target add x86_64-unknown-linux-musl/RUN rustup target add aarch64-unknown-linux-musl/g' Dockerfile
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push (MAIN)
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/arm64
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/ryot:latest