diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4dbe0eaec..02107d626 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,5 +97,5 @@ jobs: uses: ./.github/workflows/container-build.yml with: build-version: dev - tags: - - ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-${{ github.head_ref }} + tags: | + ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-${{ github.head_ref }} diff --git a/.github/workflows/container-build.yml b/.github/workflows/container-build.yml index 45fa77352..70cf96119 100644 --- a/.github/workflows/container-build.yml +++ b/.github/workflows/container-build.yml @@ -10,7 +10,7 @@ on: tags: description: "Tags to apply to the image" required: true - type: array + type: string jobs: containerbuild: @@ -40,7 +40,7 @@ jobs: build-args: | LOGPREP_VERSION=${{ inputs.build-version }} PYTHON_VERSION=${{ matrix.python-version }} - tags: ${{ join(inputs.tags, '\n') }} + tags: ${{ inputs.tags }} - name: Ensure logprep is available in image run: | diff --git a/.github/workflows/publish-latest-dev-release-to-github.yml b/.github/workflows/publish-latest-dev-release-to-github.yml index 98c6af689..756732272 100644 --- a/.github/workflows/publish-latest-dev-release-to-github.yml +++ b/.github/workflows/publish-latest-dev-release-to-github.yml @@ -51,6 +51,6 @@ jobs: needs: create-github-prerelease with: build-version: ${{ github.ref_name }} - tags: - - ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-main - - ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-latest + tags: | + ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-main + ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-latest diff --git a/.github/workflows/publish-release-to-pypi.yml b/.github/workflows/publish-release-to-pypi.yml index b396ccfad..27834e772 100644 --- a/.github/workflows/publish-release-to-pypi.yml +++ b/.github/workflows/publish-release-to-pypi.yml @@ -64,7 +64,7 @@ jobs: needs: publish-latest-release-to-pypi with: build-version: ${{ github.ref_name }} - tags: - - ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-${{ github.ref_name }} - - ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-stable - - ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-latest + tags: | + ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-${{ github.ref_name }} + ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-stable + ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-latest