1
0
Fork 0
mirror of https://github.com/docker/build-push-action.git synced 2025-05-08 06:29:30 +02:00

ci: fix workflow dispatch inputs

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-08-17 02:17:37 +02:00
parent 1527803881
commit 08aa123a28
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
2 changed files with 43 additions and 35 deletions

View file

@ -19,6 +19,10 @@ on:
tags:
- v*
env:
BUILDX_VERSION: latest
BUILDKIT_IMAGE: moby/buildkit:buildx-stable-1
jobs:
docker:
runs-on: ubuntu-latest
@ -83,9 +87,9 @@ jobs:
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
version: ${{ matrix.buildx-version }}
version: ${{ inputs.buildx-version || env.BUILDX_VERSION }}
driver-opts: |
${{ matrix.buildkit-image }}
image=${{ inputs.buildkit-image || env.BUILDKIT_IMAGE }}
-
name: Login to Registry
if: github.event_name != 'pull_request'