🚧 github: Work around that actions can't have list inputs

test/github-actions
Gerber, Mike 2 years ago
parent 3b2fa5b3a9
commit 8951955daf

@ -6,7 +6,7 @@ on:
type: string type: string
tags: tags:
required: true required: true
type: List type: String
secrets: secrets:
DOCKERHUB_USERNAME: DOCKERHUB_USERNAME:
required: true required: true
@ -40,4 +40,5 @@ jobs:
file: Dockerfile-${{ inputs.subimage }} file: Dockerfile-${{ inputs.subimage }}
build-args: build-args:
DRONE_COMMIT=${{ github.sha }} DRONE_COMMIT=${{ github.sha }}
tags: ${{ inputs.tags }}
push: true push: true

@ -18,8 +18,7 @@ jobs:
uses: ./.github/workflows/build-subimage.yml uses: ./.github/workflows/build-subimage.yml
with: with:
subimage: ${{ matrix.subimage }} subimage: ${{ matrix.subimage }}
tags: tags: quratorspk/ocrd-galley-${{ inputs.subimage }}:${{ github.sha }}
- quratorspk/ocrd-galley-${{ inputs.subimage }}:${{ github.sha }}
secrets: inherit secrets: inherit
build-rest: build-rest:
@ -30,8 +29,7 @@ jobs:
uses: ./.github/workflows/build-subimage.yml uses: ./.github/workflows/build-subimage.yml
with: with:
subimage: ${{ matrix.subimage }} subimage: ${{ matrix.subimage }}
tags: tags: quratorspk/ocrd-galley-${{ inputs.subimage }}:${{ github.sha }}
- quratorspk/ocrd-galley-${{ inputs.subimage }}:${{ github.sha }}
secrets: inherit secrets: inherit

Loading…
Cancel
Save