File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -108,3 +108,20 @@ jobs:
108108 - name : Image digest
109109 if : steps.config.outputs.trigger == 'true'
110110 run : echo ${{ steps.docker_build.outputs.digest }}
111+ - name : Build and push
112+ if : steps.config.outputs.trigger == 'true'
113+ id : docker_build
114+ uses : docker/build-push-action@v4
115+ with :
116+ pull : true
117+ push : true
118+ no-cache : ${{ steps.config.outputs.no_cache }}
119+ cache-from : type=registry,ref=ghcr.io/ros-planning/navigation2:${{ github.ref_name }}
120+ cache-to : type=inline
121+ target : builder
122+ tags : |
123+ ghcr.io/ros-planning/navigation2:${{ github.ref_name }}
124+ ghcr.io/ros-planning/navigation2:${{ github.ref_name }}-${{ steps.config.outputs.timestamp }}
125+ - name : Image digest
126+ if : steps.config.outputs.trigger == 'true'
127+ run : echo ${{ steps.docker_build.outputs.digest }}
You can’t perform that action at this time.
0 commit comments