Skip to content

Commit

Permalink
Fix GitHub action error in posting the container when merged to main (#…
Browse files Browse the repository at this point in the history
…633)

* Fixed github action error on publishing the container when merging to main branch

* finished the test and put the code back to work with main branch

---------

Co-authored-by: Chen Wang <[email protected]>
  • Loading branch information
ywkim312 and longshuicy authored Dec 2, 2024
1 parent 626fc5c commit 3ca7072
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ jobs:
tags="${tags},${version}"
version=${version%.*}
done
# Remove any unwanted double quotes from tags
tags=$(echo $tags | sed 's/"//g')
echo "VERSION=${version}" >> $GITHUB_ENV
echo "TAGS=${tags}" >> $GITHUB_ENV
elif [ "$BRANCH" == "develop" ]; then
Expand All @@ -61,6 +63,10 @@ jobs:
echo "TAGS=${BRANCH}" >> $GITHUB_ENV
fi
# debug TAGS
- name: Debug TAGS
run: echo "TAGS=${{ env.TAGS }}"

# build image
- name: Build image
uses: elgohr/[email protected]
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]

### Fixed
- Documentation container tagging error by github action [#631](https://github.com/IN-CORE/pyincore/issues/631)
- Updated rasterio dependency to the latest to fetch correct GDAL version [#636](https://github.com/IN-CORE/pyincore/issues/636)


Expand Down

0 comments on commit 3ca7072

Please sign in to comment.