Skip to content

Commit

Permalink
fix github output
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrai2 committed Dec 17, 2024
1 parent 2328e0f commit 1a87060
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/container-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ jobs:
id: image-tag
run: |
python - <<EOF
import os
image = "ghcr.io/fkie-cad/logprep"
version = "${{ matrix.python-version }}"
tags = "${{ inputs.tags }}".split(",")
full_image = [f"{image}:py{version}-{tag.strip()}" for tag in tags]
print(f"::set-output tags={','.join(full_image)}")
with open(os.environ['GITHUB_OUTPUT'], 'a') as fh:
print(f"tags={','.join(full_image)}", file=fh)
EOF
- name: Debug Image Tag
Expand Down

0 comments on commit 1a87060

Please sign in to comment.