From 129ebd7a9c4b1d5b5216c415dbb1864962c81a99 Mon Sep 17 00:00:00 2001 From: Taiga Takano Date: Tue, 25 Feb 2025 15:02:14 +0900 Subject: [PATCH 1/2] Push latest tag along with versioned Docker images. --- .github/workflows/Docker.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Docker.yaml b/.github/workflows/Docker.yaml index d5bc37819a3..8e2648cf0ea 100644 --- a/.github/workflows/Docker.yaml +++ b/.github/workflows/Docker.yaml @@ -69,7 +69,8 @@ jobs: *.cache-to=type=gha,mode=max *.cache-from=type=gha *.tags=ghcr.io/tier4/scenario_simulator_v2:traffic_simulator_${{ matrix.rosdistro }}-${{ github.event.inputs.version }} - push: true + *.tags=ghcr.io/tier4/scenario_simulator_v2:traffic_simulator_latest + push: true targets: | traffic_simulator_${{ matrix.rosdistro }} @@ -135,6 +136,7 @@ jobs: *.cache-to=type=gha,mode=max *.cache-from=type=gha *.tags=ghcr.io/tier4/scenario_simulator_v2:humble-${{ github.event.inputs.version }} + *.tags=ghcr.io/tier4/scenario_simulator_v2:latest push: true targets: | ${{ matrix.rosdistro }}_base_${{ matrix.arch }} From 8d19a6d9ed99eff97ebf5c12420f2e9e37cec6fa Mon Sep 17 00:00:00 2001 From: Taiga Takano Date: Tue, 25 Feb 2025 17:18:15 +0900 Subject: [PATCH 2/2] fix typo --- .github/workflows/Docker.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Docker.yaml b/.github/workflows/Docker.yaml index 8e2648cf0ea..bbf1d8f938d 100644 --- a/.github/workflows/Docker.yaml +++ b/.github/workflows/Docker.yaml @@ -69,7 +69,7 @@ jobs: *.cache-to=type=gha,mode=max *.cache-from=type=gha *.tags=ghcr.io/tier4/scenario_simulator_v2:traffic_simulator_${{ matrix.rosdistro }}-${{ github.event.inputs.version }} - *.tags=ghcr.io/tier4/scenario_simulator_v2:traffic_simulator_latest + *.tags=ghcr.io/tier4/scenario_simulator_v2:traffic_simulator-latest push: true targets: | traffic_simulator_${{ matrix.rosdistro }} @@ -136,7 +136,7 @@ jobs: *.cache-to=type=gha,mode=max *.cache-from=type=gha *.tags=ghcr.io/tier4/scenario_simulator_v2:humble-${{ github.event.inputs.version }} - *.tags=ghcr.io/tier4/scenario_simulator_v2:latest + *.tags=ghcr.io/tier4/scenario_simulator_v2:humble-latest push: true targets: | ${{ matrix.rosdistro }}_base_${{ matrix.arch }}