diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cebb743..c26810d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,13 +63,13 @@ jobs: fetch-depth: '0' - name: Bump version and push tag - if: ${{ github.ref_name == 'stable' }} + if: ${{ github.ref_name == 'latest' }} id: setversion uses: anothrNick/github-tag-action@1.36.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} WITH_V: true - RELEASE_BRANCHES: stable + RELEASE_BRANCHES: latest - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -96,7 +96,7 @@ jobs: BRANCH_NAME="${{ github.ref_name }}" if [[ "$BRANCH_NAME" == "dev" ]]; then IMAGE_TAG="dev" - elif [[ "$BRANCH_NAME" == "stable" ]]; then + elif [[ "$BRANCH_NAME" == "latest" ]]; then IMAGE_TAG=${{ steps.setversion.outputs.new_tag }} else IMAGE_TAG=$BRANCH_NAME @@ -116,7 +116,7 @@ jobs: run: | BRANCH_NAME="${{ github.ref_name }}" TAG_LATEST="" - if [[ "$BRANCH_NAME" == "stable" ]]; then + if [[ "$BRANCH_NAME" == "latest" ]]; then TAG_LATEST="-t $IMAGE_NAME:latest" fi diff --git a/README.md b/README.md index 635783d..eadc4c1 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,8 @@ services: ### Method 2: Running manually -1. Clone the repository with `git clone -b main https://github.com/ManiMatter/decluttarr.git` +1. Clone the repository with `git clone -b latest https://github.com/ManiMatter/decluttarr.git` +Note: Do provide the `-b latest` in the clone command, else you will be pulling the dev branch which is not what you are after. 2. Rename the `config.conf-Example` inside the config folder to `config.conf` 3. Tweak `config.conf` to your needs 4. Install the libraries listed in the docker/requirements.txt (pip install -r requirements.txt)