Skip to content

Commit

Permalink
fix write to output
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrai2 committed Dec 17, 2024
1 parent 9928104 commit 0e6aa68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/container-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
version = "${{ matrix.python-version }}"
tags = "${{ inputs.tags }}".split(",")
full_image = [f"{image}:py{version}-{tag.strip()}" for tag in tags]
with open(os.environ['GITHUB_OUTPUT'], 'a') as fh:
print(f"tags={'\n'.join(full_image)}", file=fh)
with open(os.environ['GITHUB_OUTPUT'], 'a') as file:
file.write(f"tags={'\n'.join(full_image)}")
EOF
- name: Build image and export to Docker
Expand Down

0 comments on commit 0e6aa68

Please sign in to comment.