Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.

Commit d649726

Browse files
authored
Merge pull request #9 from linuxserver-labs/workflow
Test workflow magic
2 parents f61779f + a2e8175 commit d649726

3 files changed

Lines changed: 53 additions & 0 deletions

File tree

docker-bake.hcl

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
target "docker-metadata-action" {}
2+
3+
group "default" {
4+
targets = ["image-local"]
5+
}
6+
7+
target "image" {
8+
inherits = ["docker-metadata-action"]
9+
}
10+
11+
target "image-local" {
12+
inherits = ["image"]
13+
output = ["type=docker"]
14+
}
15+
16+
target "image-all" {
17+
inherits = ["image"]
18+
platforms = [
19+
"linux/amd64",
20+
"linux/arm64",
21+
"linux/arm/v7"
22+
]
23+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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@v2
10+
with:
11+
repo_owner: ${{ github.repository_owner }}
12+
app_name: "fail2ban"
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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@v2
11+
with:
12+
repo_owner: ${{ github.repository_owner }}
13+
app_name: "fail2ban"
14+
release_type: "alpine"
15+
release_url: "v3.14/main"
16+
release_name: "fail2ban"
17+
secrets:
18+
repo_release_token: ${{ secrets.repo_release_token }}

0 commit comments

Comments
 (0)