From 8951955dafb5d64240e818599a14b2fc1f485645 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Thu, 9 Feb 2023 17:35:08 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20github:=20Work=20around=20that?= =?UTF-8?q?=20actions=20can't=20have=20list=20inputs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-subimage.yml | 3 ++- .github/workflows/build.yml | 6 ++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-subimage.yml b/.github/workflows/build-subimage.yml index 7727d8e..0897d7e 100644 --- a/.github/workflows/build-subimage.yml +++ b/.github/workflows/build-subimage.yml @@ -6,7 +6,7 @@ on: type: string tags: required: true - type: List + type: String secrets: DOCKERHUB_USERNAME: required: true @@ -40,4 +40,5 @@ jobs: file: Dockerfile-${{ inputs.subimage }} build-args: DRONE_COMMIT=${{ github.sha }} + tags: ${{ inputs.tags }} push: true diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bd0de2d..dd08859 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,8 +18,7 @@ jobs: uses: ./.github/workflows/build-subimage.yml with: subimage: ${{ matrix.subimage }} - tags: - - quratorspk/ocrd-galley-${{ inputs.subimage }}:${{ github.sha }} + tags: quratorspk/ocrd-galley-${{ inputs.subimage }}:${{ github.sha }} secrets: inherit build-rest: @@ -30,8 +29,7 @@ jobs: uses: ./.github/workflows/build-subimage.yml with: subimage: ${{ matrix.subimage }} - tags: - - quratorspk/ocrd-galley-${{ inputs.subimage }}:${{ github.sha }} + tags: quratorspk/ocrd-galley-${{ inputs.subimage }}:${{ github.sha }} secrets: inherit