Skip to content

Commit

Permalink
Add optional tag suffix on feature branches (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
miloszlagan authored Dec 6, 2024
1 parent 2b10e30 commit 024e121
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ros-docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ on:
YYYYMMDD (eg. 20220124)
type: string
default: '20131206'
feature_branch_tag_suffix:
description: In case of "development" release from a feature branch specify the custom tag suffix
for the docker image
type: string
default: ''

jobs:
build:
Expand All @@ -53,7 +58,7 @@ jobs:
uses: actions/checkout@v2

- name: Build Docker Image
uses: husarion-ci/ros-docker-img-action@v0.6
uses: husarion-ci/ros-docker-img-action@v0.7
with:
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -64,7 +69,9 @@ jobs:
build_type: ${{ inputs.build_type }}
ros_distro: ${{ matrix.ros_distro }}
platforms: ${{ matrix.platforms }}
# variables important only for stable release
# variables important only for stable release
target_distro: ${{ inputs.target_distro }}
target_release: ${{ inputs.target_release }}
target_date: ${{ inputs.target_date }}
# variables important only for development release
feature_branch_tag_suffix: ${{ inputs.feature_branch_tag_suffix }}

0 comments on commit 024e121

Please sign in to comment.