File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6464
6565 - name : Get latest version number
6666 id : get_version
67- run :
68- - echo -n "::set-output name=version::"
69- - curl --silent https://pypi.python.org/pypi/Trac/json | jq -r .info.version
67+ run : echo "TRAC_VERSION=$(curl --silent https://pypi.org/pypi/trac/json | jq -r .info.version)" >> $GITHUB_OUTPUT
7068
7169 - name : Build and push unstable Docker image
7270 id : build-and-push-unstable
9694 tags : |
9795 ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:stable
9896 ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
99- ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{steps.get_version.outputs.version }}
97+ ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{steps.get_version.outputs.TRAC_VERSION }}
10098 build-args : |
101- TRAC_INSTALL_URL=https://download.edgewall.org/trac/Trac-${{steps.get_version.outputs.version }}.tar.gz
99+ TRAC_INSTALL_URL=https://download.edgewall.org/trac/Trac-${{steps.get_version.outputs.TRAC_VERSION }}.tar.gz
102100 labels : ${{ steps.meta.outputs.labels }}
103101 cache-from : type=gha
104102 cache-to : type=gha,mode=max
You can’t perform that action at this time.
0 commit comments