Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

Commit b148deb

Browse files
committed
Add basic CI workflow
1 parent 023a0e9 commit b148deb

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/ci.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches:
6+
- 'master'
7+
8+
jobs:
9+
docker:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
- name: Set up Docker Buildx
15+
uses: docker/setup-buildx-action@v2
16+
- name: Login to DockerHub
17+
uses: docker/login-action@v2
18+
with:
19+
username: mattwebbio
20+
password: ${{ secrets.DOCKERHUB_TOKEN }}
21+
- name: Build and push
22+
uses: docker/build-push-action@v3
23+
with:
24+
context: .
25+
push: true
26+
tags: mattwebbio/pihole-sync:latest

0 commit comments

Comments
 (0)