Skip to content

Add retry logic with exponential backoff for rate limits in Traveling… #37

Add retry logic with exponential backoff for rate limits in Traveling…

Add retry logic with exponential backoff for rate limits in Traveling… #37

Workflow file for this run

name: Build and Push Docker Image
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU (for multi-arch)
uses: docker/setup-qemu-action@v3
- name: Set up Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GHCR (PAT)
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Build and push image
uses: docker/build-push-action@v6
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ghcr.io/${{ secrets.GHCR_USERNAME }}/hoyolab-auto:latest
cache-from: type=gha
cache-to: type=gha,mode=max