File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3939 run : |
4040 PTX_VERSION=$(curl -s https://pypi.org/pypi/pretext/json | grep -oP '"version":\s*"\K[^"]+')
4141 echo "Latest pretext version: $PTX_VERSION"
42- echo "ptxversion =$PTX_VERSION" >> $GITHUB_ENV
42+ echo "PTX_VERSION =$PTX_VERSION" >> $GITHUB_ENV
4343
4444 - name : Build and push base
4545 if : ${{ github.event.inputs.container == 'all' || github.event.inputs.container == 'base' || github.event.inputs.container == '' }}
@@ -49,15 +49,15 @@ jobs:
4949 context : .
5050 file : ./base/Dockerfile
5151 push : true
52- tags : ${{ secrets.DOCKERHUB_USERNAME }}/pretext:${{ ptxversion }}
52+ tags : ${{ secrets.DOCKERHUB_USERNAME }}/pretext:${{ env.PTX_VERSION }}
5353
5454 - name : Build and push full
5555 if : ${{ github.event.inputs.container == 'all' || github.event.inputs.container == 'full' || github.event.inputs.container == '' }}
5656 uses : docker/build-push-action@v6
5757 with :
5858 platforms : linux/amd64,linux/arm64
5959 context : .
60- build-args : BASE_IMAGE_TAG=${{ ptxversion }}
60+ build-args : BASE_IMAGE_TAG=${{ env.PTX_VERSION }}
6161 file : ./full/Dockerfile
6262 push : true
63- tags : ${{ secrets.DOCKERHUB_USERNAME }}/pretext-full:${{ ptxversion }}
63+ tags : ${{ secrets.DOCKERHUB_USERNAME }}/pretext-full:${{ env.PTX_VERSION }}
You can’t perform that action at this time.
0 commit comments