Skip to content

Commit

Permalink
Updated Readme and prepared build.yml for changed branch name (stable…
Browse files Browse the repository at this point in the history
… becomes latest)
  • Loading branch information
ManiMatter committed Dec 3, 2024
1 parent 26ae62c commit efe1574
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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
Expand All @@ -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
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit efe1574

Please sign in to comment.