Skip to content

Commit 2206a37

Browse files
committed
Fix tagging of latest images
Reusable workflow introduced in #328 incorrectly stores the latest versions in GH environment instead of in the output variables. Fix the target variable to correctly tag latest releases again.
1 parent f5d4659 commit 2206a37

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/builder.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ jobs:
5959
- name: Set latest tags
6060
id: set-latest
6161
run: |
62-
echo "alpine_latest=${{ env.ALPINE_LATEST }}" >> $GITHUB_ENV
63-
echo "debian_latest=${{ env.DEBIAN_LATEST }}" >> $GITHUB_ENV
64-
echo "ubuntu_latest=${{ env.UBUNTU_LATEST }}" >> $GITHUB_ENV
65-
echo "python_latest=${{ env.PYTHON_LATEST }}" >> $GITHUB_ENV
62+
echo "alpine_latest=${{ env.ALPINE_LATEST }}" >> $GITHUB_OUTPUT
63+
echo "debian_latest=${{ env.DEBIAN_LATEST }}" >> $GITHUB_OUTPUT
64+
echo "ubuntu_latest=${{ env.UBUNTU_LATEST }}" >> $GITHUB_OUTPUT
65+
echo "python_latest=${{ env.PYTHON_LATEST }}" >> $GITHUB_OUTPUT
6666
6767
build_alpine:
6868
name: Alpine ${{ matrix.version }}
@@ -121,7 +121,7 @@ jobs:
121121
with:
122122
target: python/${{ matrix.python }}
123123
architectures: ${{ needs.init.outputs.architectures_alpine }}
124-
version: ${{ matrix.version }}
124+
version: ${{ matrix.python }}
125125
python: ${{ matrix.python }}
126126
release_name: ${{ needs.init.outputs.release }}
127127
version_from: ${{ matrix.version }}

0 commit comments

Comments
 (0)