Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

Commit 024e121

Browse files
authored
Add optional tag suffix on feature branches (#90)
1 parent 2b10e30 commit 024e121

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ros-docker-image.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ on:
3232
YYYYMMDD (eg. 20220124)
3333
type: string
3434
default: '20131206'
35+
feature_branch_tag_suffix:
36+
description: In case of "development" release from a feature branch specify the custom tag suffix
37+
for the docker image
38+
type: string
39+
default: ''
3540

3641
jobs:
3742
build:
@@ -53,7 +58,7 @@ jobs:
5358
uses: actions/checkout@v2
5459

5560
- name: Build Docker Image
56-
uses: husarion-ci/ros-docker-img-action@v0.6
61+
uses: husarion-ci/ros-docker-img-action@v0.7
5762
with:
5863
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
5964
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -64,7 +69,9 @@ jobs:
6469
build_type: ${{ inputs.build_type }}
6570
ros_distro: ${{ matrix.ros_distro }}
6671
platforms: ${{ matrix.platforms }}
67-
# variables important only for stable release
72+
# variables important only for stable release
6873
target_distro: ${{ inputs.target_distro }}
6974
target_release: ${{ inputs.target_release }}
7075
target_date: ${{ inputs.target_date }}
76+
# variables important only for development release
77+
feature_branch_tag_suffix: ${{ inputs.feature_branch_tag_suffix }}

0 commit comments

Comments
 (0)