Skip to content

Commit e5bef97

Browse files
committed
Modify build and push steps for dev tag
1 parent f58162a commit e5bef97

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/update_ci_image.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,20 +108,19 @@ 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 ${{ github.ref_name }}
111+
- name: Build and push ${{ github.ref_name }}-dev
112112
if: steps.config.outputs.trigger == 'true'
113113
id: docker_build
114114
uses: docker/build-push-action@v4
115115
with:
116116
pull: true
117117
push: true
118-
no-cache: ${{ steps.config.outputs.no_cache }}
119-
cache-from: type=registry,ref=ghcr.io/ros-planning/navigation2:${{ github.ref_name }}
118+
cache-from: type=registry,ref=ghcr.io/ros-planning/navigation2:${{ github.ref_name }}-dev
120119
cache-to: type=inline
121-
target: builder
120+
target: tester
122121
tags: |
123-
ghcr.io/ros-planning/navigation2:${{ github.ref_name }}
124-
ghcr.io/ros-planning/navigation2:${{ github.ref_name }}-${{ steps.config.outputs.timestamp }}
122+
ghcr.io/ros-planning/navigation2:${{ github.ref_name }}-dev
123+
ghcr.io/ros-planning/navigation2:${{ github.ref_name }}-dev-${{ steps.config.outputs.timestamp }}
125124
- name: Image digest
126125
if: steps.config.outputs.trigger == 'true'
127126
run: echo ${{ steps.docker_build.outputs.digest }}

0 commit comments

Comments
 (0)