mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-25 09:40:56 -05:00
e2e: input to set additional tag
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
695ee8547d
commit
f74fd039f3
1 changed files with 8 additions and 1 deletions
9
.github/workflows/e2e.yml
vendored
9
.github/workflows/e2e.yml
vendored
|
@ -11,13 +11,16 @@ on:
|
|||
description: 'BuildKit image'
|
||||
default: 'moby/buildkit:buildx-stable-1'
|
||||
required: false
|
||||
tag:
|
||||
description: 'Additional tag to push'
|
||||
required: false
|
||||
schedule:
|
||||
- cron: '0 10 * * *'
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
tags:
|
||||
- v*
|
||||
- 'v*'
|
||||
|
||||
env:
|
||||
BUILDX_VERSION: latest
|
||||
|
@ -85,6 +88,10 @@ jobs:
|
|||
uses: docker/metadata-action@v4
|
||||
with:
|
||||
images: ${{ matrix.slug }}
|
||||
tags: |
|
||||
type=ref,event=branch
|
||||
type=ref,event=tag
|
||||
type=raw,value=${{ inputs.tag }},enable=${{ inputs.tag != '' }}
|
||||
-
|
||||
name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
|
Loading…
Reference in a new issue