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