🚧 github: Refactor to allow setting image tag from main workflow

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

@ -4,6 +4,9 @@ on:
subimage:
required: true
type: string
tags:
required: true
type: List
secrets:
DOCKERHUB_USERNAME:
required: true
@ -38,4 +41,3 @@ jobs:
build-args:
DRONE_COMMIT=${{ github.sha }}
push: true
tags: quratorspk/ocrd-galley-${{ inputs.subimage }}:${{ github.sha }}

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

Loading…
Cancel
Save