mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-15 20:23:51 +08:00
commit
6a8fbf0dbc
14
.github/workflows/e2e.yml
vendored
14
.github/workflows/e2e.yml
vendored
@ -11,13 +11,16 @@ on:
|
|||||||
description: 'BuildKit image'
|
description: 'BuildKit image'
|
||||||
default: 'moby/buildkit:buildx-stable-1'
|
default: 'moby/buildkit:buildx-stable-1'
|
||||||
required: false
|
required: false
|
||||||
|
tag:
|
||||||
|
description: 'Additional tag to push'
|
||||||
|
required: false
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 10 * * *'
|
- cron: '0 10 * * *'
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'master'
|
- 'master'
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- 'v*'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BUILDX_VERSION: latest
|
BUILDX_VERSION: latest
|
||||||
@ -70,6 +73,11 @@ jobs:
|
|||||||
slug: officialgithubactions.azurecr.io/test-docker-action
|
slug: officialgithubactions.azurecr.io/test-docker-action
|
||||||
username_secret: AZURE_CLIENT_ID
|
username_secret: AZURE_CLIENT_ID
|
||||||
password_secret: AZURE_CLIENT_SECRET
|
password_secret: AZURE_CLIENT_SECRET
|
||||||
|
-
|
||||||
|
registry: quay.io
|
||||||
|
slug: quay.io/crazymax/build-push-action
|
||||||
|
username_secret: QUAY_USERNAME
|
||||||
|
password_secret: QUAY_TOKEN
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
@ -80,6 +88,10 @@ jobs:
|
|||||||
uses: docker/metadata-action@v4
|
uses: docker/metadata-action@v4
|
||||||
with:
|
with:
|
||||||
images: ${{ matrix.slug }}
|
images: ${{ matrix.slug }}
|
||||||
|
tags: |
|
||||||
|
type=ref,event=branch
|
||||||
|
type=ref,event=tag
|
||||||
|
type=raw,value=${{ inputs.tag }},enable=${{ inputs.tag != '' }}
|
||||||
-
|
-
|
||||||
name: Set up QEMU
|
name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user