Fix buildx-image workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>v0.9
parent
1c378111a7
commit
bb1dcdad51
|
@ -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 }}"
|
||||
|
|
Loading…
Reference in New Issue