测试 build_tags: image-test

This commit is contained in:
严浩
2024-10-08 22:34:48 +08:00
committed by GitHub
parent 92cf2ed635
commit cd586f86f8
2 changed files with 9 additions and 5 deletions

View File

@ -31,6 +31,9 @@ inputs:
description: "是否加载 Docker 镜像"
default: "false"
required: false
build_tags:
description: "Docker 镜像标签"
required: false
runs:
using: "composite"
steps:
@ -56,7 +59,7 @@ runs:
platforms: ${{ inputs.build_platforms }}
push: ${{ inputs.build_push }}
load: ${{ inputs.build_load }}
# tags: ${{ steps.meta.outputs.tags }}
tags: ${{ inputs.build_tags }}
# labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max