update to multiplatform and add cache
All checks were successful
Build Docker Image / build (push) Successful in 12m37s

This commit is contained in:
sudacode 2025-02-09 23:25:30 -08:00
parent af0d958b89
commit 9544b0415c

View File

@ -3,6 +3,7 @@ on:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
@ -25,9 +26,12 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
gitea.suda.codes/sudacode/mpv-youtube-queue-server:${{ env.current_version }}
gitea.suda.codes/sudacode/mpv-youtube-queue-server:latest
cache-from: type=registry,ref=gitea.suda.codes/sudacode/mpv-youtube-queue-server:latest
cache-to: type=inline
- name: Log out from Gitea Docker Registry
run: docker logout https://gitea.suda.codes