mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-07-01 09:29:53 +02:00
🚧 github: Refactor to allow setting image tag from main workflow
This commit is contained in:
parent
a3c193043b
commit
3b2fa5b3a9
2 changed files with 7 additions and 1 deletions
4
.github/workflows/build-subimage.yml
vendored
4
.github/workflows/build-subimage.yml
vendored
|
@ -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 }}
|
||||
|
|
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -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…
Add table
Add a link
Reference in a new issue