Skip to content

Commit

Permalink
use actual string for tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrai2 committed Dec 17, 2024
1 parent bfb984c commit 10db32b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
4 changes: 2 additions & 2 deletions .github/workflows/container-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
tags:
description: "Tags to apply to the image"
required: true
type: array
type: string

jobs:
containerbuild:
Expand Down Expand Up @@ -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: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-latest-dev-release-to-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 4 additions & 4 deletions .github/workflows/publish-release-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 10db32b

Please sign in to comment.