Skip to content

Commit

Permalink
Avoid reserved env version
Browse files Browse the repository at this point in the history
  • Loading branch information
ruffsl committed Mar 20, 2023
1 parent 7cebfe7 commit ddc2a28
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/update_ci_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
id: check
if: github.event_name == 'push'
run: |
version=$(grep -oP '(?<=<version>).*?(?=</version>)' navigation2/package.xml)
nav2_version=$(grep -oP '(?<=<version>).*?(?=</version>)' navigation2/package.xml)
pwd
ls -alh
echo $version
echo "version=${version}" >> $GITHUB_OUTPUT
echo $nav2_version
echo "nav2_version=${nav2_version}" >> $GITHUB_OUTPUT
echo "trigger=true" >> $GITHUB_OUTPUT
echo "no_cache=false" >> $GITHUB_OUTPUT
check_ci_image:
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
target: builder
tags: |
ghcr.io/${{ github.repository }}:${{ github.ref_name }}
ghcr.io/${{ github.repository }}:${{ github.ref_name }}-${{ steps.config.outputs.version }}
ghcr.io/${{ github.repository }}:${{ github.ref_name }}-${{ steps.config.outputs.nav2_version }}
- name: Image digest
if: steps.config.outputs.trigger == 'true'
run: echo ${{ steps.docker_build.outputs.digest }}

0 comments on commit ddc2a28

Please sign in to comment.