File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6262 tags : |
6363 type=schedule,prefix=trunk-,pattern={{date 'YYYYMMDD'}}
6464
65+ - name : Get latest version number
66+ 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
70+
6571 - name : Build and push unstable Docker image
6672 id : build-and-push-unstable
6773 uses : docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
9096 tags : |
9197 ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:stable
9298 ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
99+ ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{steps.get_version.outputs.version}}
100+ build-args : |
101+ TRAC_INSTALL_URL=https://download.edgewall.org/trac/Trac-${{steps.get_version.outputs.version}}.tar.gz
93102 labels : ${{ steps.meta.outputs.labels }}
94103 cache-from : type=gha
95104 cache-to : type=gha,mode=max
You can’t perform that action at this time.
0 commit comments