From 18176c659c8351ddcd8aa7402455a2bd93e03ba4 Mon Sep 17 00:00:00 2001 From: Andy Hsu Date: Tue, 20 Aug 2024 21:36:36 +0800 Subject: [PATCH] ci: add `beta` tag to newest docker image --- .github/workflows/build_docker.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_docker.yml b/.github/workflows/build_docker.yml index cfd04511..8f37688d 100644 --- a/.github/workflows/build_docker.yml +++ b/.github/workflows/build_docker.yml @@ -23,6 +23,12 @@ jobs: uses: docker/metadata-action@v5 with: images: xhofe/alist + tags: | + type=schedule + type=ref,event=branch + type=ref,event=tag + type=ref,event=pr + type=raw,value=beta,enable={{is_default_branch}} - name: Docker meta with ffmpeg id: meta-ffmpeg @@ -30,7 +36,13 @@ jobs: with: images: xhofe/alist flavor: | - suffix=-ffmpeg,onlatest=true + suffix=-ffmpeg + tags: | + type=schedule + type=ref,event=branch + type=ref,event=tag + type=ref,event=pr + type=raw,value=beta,enable={{is_default_branch}} - uses: actions/setup-go@v5 with: