File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6969 platforms : linux/amd64,linux/arm64
7070 push : true
7171 build-args : |
72- ${{ matrix.build-args == 'true' && format('VERSION={0}', steps.tag.outputs.TAG) || '' }}
73- ${{ matrix.build-args == 'true' && format('COMMIT_HASH={0}', github.sha) || '' }}
74- ${{ matrix.build-args == 'true' && format('BUILD_DATE={0}', steps.date.outputs.BUILD_DATE) || '' }}
72+ ${{ matrix.build-args && format('VERSION={0}', steps.tag.outputs.TAG) || '' }}
73+ ${{ matrix.build-args && format('COMMIT_HASH={0}', github.sha) || '' }}
74+ ${{ matrix.build-args && format('BUILD_DATE={0}', steps.date.outputs.BUILD_DATE) || '' }}
7575 tags : ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}${{ matrix.suffix }}:${{ steps.tag.outputs.TAG }},${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}${{ matrix.suffix }}:latest
7676 cache-from : type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}${{ matrix.suffix }}:buildcache
7777 cache-to : type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}${{ matrix.suffix }}:buildcache,mode=max
You can’t perform that action at this time.
0 commit comments