Skip to content

Commit

Permalink
e2e: input to set additional tag
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed Feb 9, 2023
1 parent 695ee85 commit f74fd03
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f74fd03

Please sign in to comment.