Skip to content

Commit 5091ce8

Browse files
committed
Duplicate build and push steps for dev tag
1 parent e6f383f commit 5091ce8

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/update_ci_image.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)