Compare commits

..

3 Commits

Author SHA1 Message Date
zbuse
48f7539918
Merge fc6bb8cf34 into 7acae3dcc4 2025-01-22 10:48:15 +08:00
Xboard
7acae3dcc4
Update docker-publish.yml 2025-01-21 22:14:01 +08:00
Xboard
dff2e721cb
Update docker-publish.yml 2025-01-21 22:05:56 +08:00

View File

@ -2,7 +2,7 @@ name: Docker Build and Publish
on: on:
push: push:
branches: ["legacy"] branches: ["legacy", "dev"]
workflow_dispatch: workflow_dispatch:
env: env:
@ -73,6 +73,9 @@ jobs:
cache-to: type=gha,mode=max cache-to: type=gha,mode=max
tags: | tags: |
${{ env.REGISTRY }}/${{ github.repository_owner }}/xboard:legacy ${{ env.REGISTRY }}/${{ github.repository_owner }}/xboard:legacy
${{ env.REGISTRY }}/${{ github.repository_owner }}/xboard:dev
${{ env.REGISTRY }}/${{ github.repository_owner }}/xboard
${{ env.REGISTRY }}/${{ github.repository_owner }}/xboard:latest
${{ env.REGISTRY }}/${{ github.repository_owner }}/xboard:${{ steps.get_version.outputs.version }} ${{ env.REGISTRY }}/${{ github.repository_owner }}/xboard:${{ steps.get_version.outputs.version }}
build-args: | build-args: |
BUILDKIT_INLINE_CACHE=1 BUILDKIT_INLINE_CACHE=1
@ -88,4 +91,4 @@ jobs:
env: env:
COSIGN_EXPERIMENTAL: 1 COSIGN_EXPERIMENTAL: 1
run: | run: |
echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign --yes "{}@${{ steps.build-and-push.outputs.digest }}" echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign --yes "{}@${{ steps.build-and-push.outputs.digest }}"