Skip to content

Commit b52b5b0

Browse files
authored
Create build.yml
1 parent bff9f21 commit b52b5b0

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/build.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build OSCam IPv6 (Alpine)
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
16+
- name: Login to GHCR
17+
uses: docker/login-action@v2
18+
with:
19+
registry: ghcr.io
20+
username: ${{ github.actor }}
21+
password: ${{ secrets.GITHUB_TOKEN }}
22+
23+
- name: Build image
24+
run: |
25+
docker build -t ghcr.io/${{ github.repository_owner }}/oscam-ipv6:latest .
26+
27+
- name: Push image
28+
run: |
29+
docker push ghcr.io/${{ github.repository_owner }}/oscam-ipv6:latest

0 commit comments

Comments
 (0)