mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-07-27 21:59:52 +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:
|
subimage:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
tags:
|
||||||
|
required: true
|
||||||
|
type: List
|
||||||
secrets:
|
secrets:
|
||||||
DOCKERHUB_USERNAME:
|
DOCKERHUB_USERNAME:
|
||||||
required: true
|
required: true
|
||||||
|
@ -38,4 +41,3 @@ jobs:
|
||||||
build-args:
|
build-args:
|
||||||
DRONE_COMMIT=${{ github.sha }}
|
DRONE_COMMIT=${{ github.sha }}
|
||||||
push: true
|
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
|
uses: ./.github/workflows/build-subimage.yml
|
||||||
with:
|
with:
|
||||||
subimage: ${{ matrix.subimage }}
|
subimage: ${{ matrix.subimage }}
|
||||||
|
tags:
|
||||||
|
- quratorspk/ocrd-galley-${{ inputs.subimage }}:${{ github.sha }}
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
build-rest:
|
build-rest:
|
||||||
|
@ -28,6 +30,8 @@ jobs:
|
||||||
uses: ./.github/workflows/build-subimage.yml
|
uses: ./.github/workflows/build-subimage.yml
|
||||||
with:
|
with:
|
||||||
subimage: ${{ matrix.subimage }}
|
subimage: ${{ matrix.subimage }}
|
||||||
|
tags:
|
||||||
|
- quratorspk/ocrd-galley-${{ inputs.subimage }}:${{ github.sha }}
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue