Skip to content
This repository was archived by the owner on Apr 28, 2024. It is now read-only.

Commit 27c4bb8

Browse files
authored
Merge pull request #2 from linuxserver-labs/actions-workflow
Use called workflow, update readme, make consistent with other labs repos
2 parents c703248 + db824a8 commit 27c4bb8

18 files changed

+139
-1385
lines changed

.github/CONTRIBUTING.md

Lines changed: 0 additions & 122 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/issue.bug.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ about: Create a report to help us improve
44

55
---
66
[linuxserverurl]: https://linuxserver.io
7-
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
7+
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/lsio-labs-wide.png)][linuxserverurl]
88

99
<!--- If you are new to Docker or this application our issue tracker is **ONLY** used for reporting bugs or requesting features. Please use [our discord server](https://discord.gg/YWrKVTn) for general support. --->
1010

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!--- Provide a general summary of your changes in the Title above -->
22

33
[linuxserverurl]: https://linuxserver.io
4-
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
4+
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/lsio-labs-wide.png)](https://linuxserver.io)
55

66

77
<!--- Before submitting a pull request please check the following -->
@@ -21,7 +21,7 @@
2121

2222
------------------------------
2323

24-
- [ ] I have read the [contributing](https://github.com/linuxserver/docker-invoiceninja/blob/master/.github/CONTRIBUTING.md) guideline and understand that I have made the correct modifications
24+
- [ ] I have read the [contributing](https://github.com/linuxserver-labs/docker-invoiceninja/blob/master/.github/CONTRIBUTING.md) guideline and understand that I have made the correct modifications
2525

2626
------------------------------
2727

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Check for base image updates
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 0 * * 0'
7+
8+
jobs:
9+
call-workflow:
10+
uses: linuxserver-labs/docker-actions/.github/workflows/check-baseimage-update.yml@v5
11+
with:
12+
repo_owner: ${{ github.repository_owner }}
13+
app_name: "invoiceninja"
14+
baseimage: "alpine-nginx"
15+
basebranch: "3.13"
16+
secrets:
17+
repo_release_token: ${{ secrets.repo_release_token }}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Build Image On Release
2+
3+
on:
4+
release:
5+
types: [ published ]
6+
7+
jobs:
8+
call-workflow:
9+
uses: linuxserver-labs/docker-actions/.github/workflows/build-image.yml@v5
10+
with:
11+
repo_owner: ${{ github.repository_owner }}
12+
app_name: "invoiceninja"
13+
release_type: "script"
14+
secrets:
15+
scarf_token: ${{ secrets.SCARF_TOKEN }}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Check for update and release
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 * * * *'
7+
8+
jobs:
9+
call-workflow:
10+
uses: linuxserver-labs/docker-actions/.github/workflows/check-and-release.yml@v5
11+
with:
12+
repo_owner: ${{ github.repository_owner }}
13+
app_name: "invoiceninja"
14+
release_type: "script"
15+
secrets:
16+
repo_release_token: ${{ secrets.repo_release_token }}

.github/workflows/ci.yml

Lines changed: 0 additions & 165 deletions
This file was deleted.

.github/workflows/greetings.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ jobs:
88
steps:
99
- uses: actions/first-interaction@v1
1010
with:
11-
issue-message: 'Thanks for opening your first issue here! Be sure to follow the [bug](https://github.com/linuxserver/docker-invoiceninja/blob/master/.github/ISSUE_TEMPLATE/issue.bug.md) or [feature](https://github.com/linuxserver/docker-invoiceninja/blob/master/.github/ISSUE_TEMPLATE/issue.feature.md) issue templates!'
12-
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-invoiceninja/blob/master/.github/PULL_REQUEST_TEMPLATE.md)!'
11+
issue-message: 'Thanks for opening your first issue here! Be sure to follow the [bug](https://github.com/linuxserver-labs/docker-invoiceninja/blob/master/.github/ISSUE_TEMPLATE/issue.bug.md) or [feature](https://github.com/linuxserver-labs/docker-invoiceninja/blob/master/.github/ISSUE_TEMPLATE/issue.feature.md) issue templates!'
12+
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver-labs/docker-invoiceninja/blob/master/.github/PULL_REQUEST_TEMPLATE.md)!'
1313
repo-token: ${{ secrets.GITHUB_TOKEN }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ RUN \
4040
INVOICENINJA_RELEASE=$(curl -s https://api.github.com/repos/invoiceninja/invoiceninja/releases | jq -rc 'limit(1;.[] | select( .target_commitish | match("v5-stable"))) .tag_name'); \
4141
fi && \
4242
curl -o \
43-
/tmp/invoiceninja.tar.gz -L \
43+
/tmp/invoiceninja.tar.gz -L \
4444
"https://github.com/invoiceninja/invoiceninja/archive/${INVOICENINJA_RELEASE}.tar.gz" && \
4545
tar xf \
4646
/tmp/invoiceninja.tar.gz -C \

0 commit comments

Comments
 (0)