|
|
|
@ -173,11 +173,25 @@ jobs:
|
|
|
|
|
matrix:
|
|
|
|
|
include:
|
|
|
|
|
- arch: amd64
|
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
|
- arch: arm64
|
|
|
|
|
runs-on: ubuntu-24.04-arm
|
|
|
|
|
runs-on: ${{ matrix.runs-on }}
|
|
|
|
|
runs-on: ${{ matrix.runs-on || 'ubuntu-24.04' }}
|
|
|
|
|
steps:
|
|
|
|
|
- name: Login to GitHub Container Registry
|
|
|
|
|
if: ${{ github.event_name != 'pull_request' }}
|
|
|
|
|
uses: docker/login-action@v3
|
|
|
|
|
with:
|
|
|
|
|
registry: ghcr.io
|
|
|
|
|
username: ${{ github.actor }}
|
|
|
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
|
|
|
|
|
- name: Login to DockerHub
|
|
|
|
|
uses: docker/login-action@v3
|
|
|
|
|
if: ${{ github.event_name != 'pull_request' && env.DOCKERHUB_REPO }}
|
|
|
|
|
with:
|
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
|
|
|
|
|
|
- name: Checkout
|
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
with:
|
|
|
|
|