update to multiplatform and add cache
All checks were successful
Build Docker Image / build (push) Successful in 12m37s
All checks were successful
Build Docker Image / build (push) Successful in 12m37s
This commit is contained in:
@@ -3,6 +3,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -25,9 +26,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: |
|
tags: |
|
||||||
gitea.suda.codes/sudacode/mpv-youtube-queue-server:${{ env.current_version }}
|
gitea.suda.codes/sudacode/mpv-youtube-queue-server:${{ env.current_version }}
|
||||||
gitea.suda.codes/sudacode/mpv-youtube-queue-server:latest
|
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
|
- name: Log out from Gitea Docker Registry
|
||||||
run: docker logout https://gitea.suda.codes
|
run: docker logout https://gitea.suda.codes
|
||||||
|
|||||||
Reference in New Issue
Block a user