Skip to content

Commit

Permalink
ci(semver): add scope to versioning (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
bathienle authored Oct 25, 2024
1 parent 3ff96c4 commit 4bbf79a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Release check
id: release
run: |
if [[ ${{ github.ref_name }} =~ ^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)$ ]]; then
if [[ ${{ github.ref_name }} =~ ^bp-(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)$ ]]; then
echo "release=true" >> $GITHUB_OUTPUT
else
echo "release=false" >> $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-pims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
github.rest.packages.deletePackageForOrg({
org: context.repo.owner,
package_type: "container",
package_name: "pims",
package_name: "${{ github.event.repository.name }}",
});
} catch (error) {
core.setFailed(error.message);
Expand Down
4 changes: 2 additions & 2 deletions docker/backend.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ ARG GUNICORN_VERSION=20.1.0
ARG SETUPTOOLS_VERSION=59.6.0
COPY ./requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir gunicorn==${GUNICORN_VERSION} && \
pip install --no-cache-dir -r requirements.txt && \
pip install --no-cache-dir setuptools==${SETUPTOOLS_VERSION} && \
pip install --no-cache-dir -r requirements.txt && \
python plugins.py \
--plugin_csv /app/plugins.csv \
--install_path ${PLUGIN_INSTALL_PATH} \
Expand All @@ -142,7 +142,7 @@ RUN pip install --no-cache-dir gunicorn==${GUNICORN_VERSION} && \

# Add default config
COPY ./pims-config.env /app/pims-config.env
COPY ./logging-prod.yml /app/logging.yml
COPY ./logging-prod.yml /app/logging-prod.yml
COPY ./docker/gunicorn_conf.py /app/gunicorn_conf.py

COPY ./docker/start.sh /start.sh
Expand Down

0 comments on commit 4bbf79a

Please sign in to comment.