Skip to content

Commit 35e6147

Browse files
committed
Added edge image pipeline
1 parent 4c33fdf commit 35e6147

3 files changed

Lines changed: 53 additions & 2 deletions

File tree

.github/dependabot.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,9 @@ updates:
1919
prefix: "deps"
2020
labels:
2121
- "dependencies"
22-
- "docker"
22+
- "docker"
23+
- package-ecosystem: "github-actions"
24+
directory: "/"
25+
open-pull-requests-limit: 10
26+
schedule:
27+
interval: "daily"

.github/workflows/edge.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Edge Image Build Workflow
2+
# This workflow builds and pushes the edge image for the Stream Webpage Container on merge to the main branch.
3+
name: Edge Image Build
4+
5+
on:
6+
push:
7+
branches:
8+
- main
9+
10+
jobs:
11+
push:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Set up Docker Buildx
15+
uses: docker/setup-buildx-action@v3
16+
17+
- name: Checkout
18+
uses: actions/checkout@v5
19+
20+
- name: Generate Docker Metadata
21+
id: meta
22+
uses: docker/metadata-action@v4
23+
with:
24+
images: ghcr.io/zozman/stream-webpage-container
25+
tags: |
26+
type=raw,value=edge
27+
type=sha
28+
type=sha,format=long
29+
30+
- name: Login to GitHub Container Registry
31+
uses: docker/login-action@v3
32+
with:
33+
registry: ghcr.io
34+
username: ${{ github.actor }}
35+
password: ${{ secrets.GITHUB_TOKEN }}
36+
37+
- name: Build & Push Docker Image to GitHub Container Registries
38+
uses: docker/build-push-action@v6
39+
with:
40+
push: true
41+
platforms: linux/amd64
42+
context: .
43+
tags: ${{ steps.meta.outputs.tags }}
44+
labels: ${{ steps.meta.outputs.labels }}

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,4 +145,6 @@ To enable status checking for Twitch, provide a `TWITCH_CHANNEL`, `TWITCH_CLIENT
145145

146146
## About
147147

148-
Cobbled together by [Zac Lovoy](https://bsky.app/profile/zwlovoy.bsky.social) (aka [BigZoz on Twitch](https://www.twitch.tv/bigzoz)). If you're interested in some of other streaming adjacent stuff, check out [YarpBot](https://yarpbot.com) or the [Filters Extension for Twitch](https://dashboard.twitch.tv/extensions/npqfekui52xl3nuuk91h2pmrszod57). Or whatever; I'm not your dad.
148+
Cobbled together by [Zac Lovoy](https://bsky.app/profile/zwlovoy.bsky.social) (aka [BigZoz on Twitch](https://www.twitch.tv/bigzoz)). If you're interested in some of other streaming adjacent stuff, check out [YarpBot](https://yarpbot.com) or the [Filters Extension for Twitch](https://dashboard.twitch.tv/extensions/npqfekui52xl3nuuk91h2pmrszod57).
149+
150+
Or whatever; I'm not your dad.

0 commit comments

Comments
 (0)