File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 - " pygeoapi/**"
88 - " data/**"
99 - " .github/workflows/pygeoapi-image.yml"
10- - " VERSION"
11- - " docker/Dockerfile.pygeoapi"
1210 workflow_dispatch :
1311
1412permissions :
@@ -26,18 +24,18 @@ jobs:
2624
2725 - name : Bump repo version
2826 run : |
29- VERSION=$(cat VERSION)
27+ VERSION=$(cat pygeoapi/ VERSION)
3028 IFS='.' read -r MAJ MIN PATCH <<<"$VERSION"
3129 PATCH=$((PATCH+1))
3230 NEW_VERSION="$MAJ.$MIN.$PATCH"
33- echo "$NEW_VERSION" > VERSION
31+ echo "$NEW_VERSION" > pygeoapi/ VERSION
3432 echo "VERSION=$NEW_VERSION" >> "$GITHUB_ENV"
3533
3634 - name : Commit version bump
3735 run : |
3836 git config user.name "GitHub Actions"
3937 git config user.email "actions@github.com"
40- git add VERSION
38+ git add pygeoapi/ VERSION
4139 git commit -m "chore: bump repo version to $VERSION" && git push || echo "No changes to commit"
4240
4341 - name : Get pygeoapi version
5755 uses : docker/build-push-action@v6
5856 with :
5957 context : .
60- file : ./docker/Dockerfile.pygeoapi
58+ file : ./pygeoapi/ docker/Dockerfile.pygeoapi
6159 push : true
6260 build-args : |
6361 REPO_VERSION=${{ env.VERSION }}
File renamed without changes.
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ RUN PY_VER=$(python3 -c 'import pkg_resources;print(pkg_resources.get_distributi
3636 && echo "${PY_VER}-${REPO_VERSION}" > /VERSION
3737
3838# Add init script
39- COPY docker/init.sh /init.sh
39+ COPY pygeoapi/ docker/init.sh /init.sh
4040RUN chmod +x /init.sh
4141
4242ENTRYPOINT ["/init.sh"]
File renamed without changes.
You can’t perform that action at this time.
0 commit comments