Skip to content

Commit 1662614

Browse files
committed
chore: automated docker builds
chore: increment version for new build ver: 2.1.2
1 parent 6a34d34 commit 1662614

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.github/workflows/pre-release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
-
1515
name: Set up Docker Buildx
1616
uses: docker/setup-buildx-action@v1
17+
-
18+
name: Get Version
19+
id: get_version
20+
uses: battila7/get-version-action@v2
1721
-
1822
name: Login to DockerHub
1923
uses: docker/login-action@v1
@@ -26,4 +30,4 @@ jobs:
2630
with:
2731
platforms: linux/amd64,linux/arm64,linux/arm/v7
2832
push: true
29-
tags: toddrob/searcharr:${{github.action_ref}}-rc
33+
tags: toddrob/searcharr:${{steps.get_version.outputs.version}}

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
-
1515
name: Set up Docker Buildx
1616
uses: docker/setup-buildx-action@v1
17+
-
18+
name: Get Version
19+
id: get_version
20+
uses: battila7/get-version-action@v2
1721
-
1822
name: Login to DockerHub
1923
uses: docker/login-action@v1
@@ -26,4 +30,4 @@ jobs:
2630
with:
2731
platforms: linux/amd64,linux/arm64,linux/arm/v7
2832
push: true
29-
tags: toddrob/searcharr:${{github.action_ref}},toddrob/searcharr:latest
33+
tags: toddrob/searcharr:${{steps.get_version.outputs.version}},toddrob/searcharr:${{steps.get_version.outputs.major}},toddrob/searcharr:latest

searcharr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import sonarr
2323
import settings
2424

25-
__version__ = "2.1.1"
25+
__version__ = "2.1.2"
2626

2727
DBPATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), "data")
2828
DBFILE = "searcharr.db"

0 commit comments

Comments
 (0)