diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f7db27..3158af0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [main, master] + branches: [main] pull_request: - branches: [main, master] + branches: [main] jobs: lint: diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index e1d3652..08695f7 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -2,11 +2,9 @@ name: Docker on: push: - branches: [main, master] + branches: [main] tags: - "v*" - pull_request: - branches: [main, master] env: REGISTRY: ghcr.io diff --git a/Dockerfile b/Dockerfile index a645c68..30b3c08 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,7 +32,7 @@ COPY alembic.ini ./ ARG BUILD_VERSION=dev # Set version in _version.py and install the package -RUN sed -i "s/__version__ = \"dev\"/__version__ = \"${BUILD_VERSION}\"/" src/meshcore_hub/_version.py && \ +RUN sed -i "s|__version__ = \"dev\"|__version__ = \"${BUILD_VERSION}\"|" src/meshcore_hub/_version.py && \ pip install --upgrade pip && \ pip install .