File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -137,16 +137,14 @@ jobs:
137137 name : ${{ steps.image-variables.outputs.tag }}
138138 path : ${{ steps.metadata.outputs.bake-file }}
139139 - name : Run tests
140- # buildx does not support outputting the image so we need to pull it and run tests
141- if : needs.version.outputs.push == 'true'
142140 run : |
143141 docker images
144142 # Test the pixi binary is available
145- docker run --rm ghcr.io/prefix-dev/pixi: ${{ needs.version.outputs.new-version }}-${{ steps.image-variables .outputs.tag }} pixi --version
143+ docker run --rm ${{ steps.build .outputs.digest }} pixi --version
146144 # Test end-to-end pixi workflow
147- docker run --rm ghcr.io/prefix-dev/pixi: ${{ needs.version.outputs.new-version }}-${{ steps.image-variables .outputs.tag }} sh -c "mkdir /app && cd /app && pixi init && pixi add python && pixi run python --version"
145+ docker run --rm ${{ steps.build .outputs.digest }} sh -c "mkdir /app && cd /app && pixi init && pixi add python && pixi run python --version"
148146 # Test pixi global binaries are in PATH
149- docker run --rm ghcr.io/prefix-dev/pixi: ${{ needs.version.outputs.new-version }}-${{ steps.image-variables .outputs.tag }} sh -c "pixi global install rsync && rsync --version"
147+ docker run --rm ${{ steps.build .outputs.digest }} sh -c "pixi global install rsync && rsync --version"
150148 - name : Image digest
151149 run : echo ${{ steps.build.outputs.digest }}
152150
You can’t perform that action at this time.
0 commit comments