Skip to content

Commit 7cab343

Browse files
authored
Merge pull request #1 from linuxserver-labs/actions-v6
2 parents 9384a2f + c472484 commit 7cab343

File tree

5 files changed

+69
-6
lines changed

5 files changed

+69
-6
lines changed
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@v6
11+
with:
12+
repo_owner: ${{ github.repository_owner }}
13+
baseimage: "alpine"
14+
basebranch: "3.15"
15+
app_name: "webhook"
16+
secrets:
17+
repo_release_token: ${{ secrets.repo_release_token }}

.github/workflows/call-build-image.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@ name: Build Image On Release
22

33
on:
44
release:
5-
types: [published]
5+
types: [ published ]
6+
pull_request:
67

78
jobs:
89
call-workflow:
9-
uses: linuxserver-labs/docker-actions/.github/workflows/build-image.yml@v4
10+
uses: linuxserver-labs/docker-actions/.github/workflows/build-image.yml@v6
1011
with:
1112
repo_owner: ${{ github.repository_owner }}
1213
app_name: "webhook"
14+
release_type: "github"
15+
release_url: "https://api.github.com/repos/adnanh/webhook"
16+
target-arch: "all"
1317
secrets:
1418
scarf_token: ${{ secrets.SCARF_TOKEN }}

.github/workflows/call-check-and-release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@ on:
77

88
jobs:
99
call-workflow:
10-
uses: linuxserver-labs/docker-actions/.github/workflows/check-and-release.yml@v4
10+
uses: linuxserver-labs/docker-actions/.github/workflows/check-and-release.yml@v6
1111
with:
1212
repo_owner: ${{ github.repository_owner }}
1313
app_name: "webhook"
1414
release_type: "github"
1515
release_url: "https://api.github.com/repos/adnanh/webhook"
16-
release_name: "webhook"
1716
secrets:
1817
repo_release_token: ${{ secrets.repo_release_token }}

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ Find us at:
3535
[![GitHub Stars](https://img.shields.io/github/stars/linuxserver-labs/docker-webhook.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/linuxserver-labs/docker-webhook)
3636
[![GitHub Release](https://img.shields.io/github/release/linuxserver-labs/docker-webhook.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/linuxserver-labs/docker-webhook/releases)
3737
[![GitHub Package Repository](https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitHub%20Package&logo=github)](https://github.com/linuxserver-labs/docker-webhook/packages)
38+
[![ci](https://img.shields.io/github/workflow/status/linuxserver-labs/docker-webhook/Check%20for%20update%20and%20release.svg?labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github&label=Check%20For%20Upstream%20Updates)](https://github.com/linuxserver-labs/docker-webhook/actions/workflows/call-chck-and-release.yml)
39+
[![ci](https://img.shields.io/github/workflow/status/linuxserver-labs/docker-webhook/Check%20for%20base%20image%20updates.svg?labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github&label=Check%20For%20Baseimage%20Updates)](https://github.com/linuxserver-labs/docker-webhook/actions/workflows/call-baseimage-update.yml)
40+
[![ci](https://img.shields.io/github/workflow/status/linuxserver-labs/docker-webhook/Build%20Image%20On%20Release.svg?labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github&label=Build%20Image)](https://github.com/linuxserver-labs/docker-webhook/actions/workflows/call-build-image.yml)
3841

3942
[webhook](https://github.com/adnanh/webhook) is a lightweight configurable tool written in Go, that allows you to easily create HTTP endpoints (hooks) on your server, which you can use to execute configured commands. You can also pass data from the HTTP request (such as headers, payload or query variables) to your commands. webhook also allows you to specify rules which have to be satisfied in order for the hook to be triggered.
4043

docker-bake.hcl

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,51 @@ target "image-local" {
1313
output = ["type=docker"]
1414
}
1515

16-
target "image-all" {
16+
target "amd64" {
17+
inherits = ["image"]
18+
dockerfile = "Dockerfile"
19+
platforms = [
20+
"linux/amd64"
21+
]
22+
}
23+
24+
target "arm64v8" {
25+
inherits = ["image"]
26+
dockerfile = "Dockerfile.aarch64"
27+
platforms = [
28+
"linux/arm64"
29+
]
30+
}
31+
32+
target "arm32v7" {
33+
inherits = ["image"]
34+
dockerfile = "Dockerfile.armhf"
35+
platforms = [
36+
"linux/arm/v7"
37+
]
38+
}
39+
40+
target "64" {
1741
inherits = ["image"]
1842
platforms = [
1943
"linux/amd64",
44+
"linux/arm64"
45+
]
46+
}
47+
48+
target "arm" {
49+
inherits = ["image"]
50+
platforms = [
2051
"linux/arm64",
2152
"linux/arm/v7"
2253
]
23-
}
54+
}
55+
56+
target "all" {
57+
inherits = ["image"]
58+
platforms = [
59+
"linux/amd64",
60+
"linux/arm64",
61+
"linux/arm/v7"
62+
]
63+
}

0 commit comments

Comments
 (0)