Fix buildx-image workflow

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
v0.9
CrazyMax 2020-12-29 01:48:56 +01:00
parent 1c378111a7
commit bb1dcdad51
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
1 changed files with 4 additions and 4 deletions

View File

@ -43,7 +43,7 @@ jobs:
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
if: inputs.dry-run != 'true'
if: github.event.inputs.dry-run != 'true'
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
@ -52,12 +52,12 @@ jobs:
name: Create
run: |
DRYRUN_FLAG=""
if [ "${{ inputs.dry-run }}" = "true" ]; then
if [ "${{ github.event.inputs.dry-run }}" = "true" ]; then
DRYRUN_FLAG="--dry-run"
fi
SOURCE_TAG="${{ inputs.source-tag }}"
DEST_TAG="${{ inputs.dest-tag }}"
SOURCE_TAG="${{ github.event.inputs.source-tag }}"
DEST_TAG="${{ github.event.inputs.dest-tag }}"
if [ "${{ matrix.flavor }}" != "" ]; then
if [ "$SOURCE_TAG" = "latest" ]; then
SOURCE_TAG="${{ matrix.flavor }}"