Skip to content

Commit e284be0

Browse files
authored
push the klipper-build image to docker hub (KalicoCrew#40)
1 parent 9105db3 commit e284be0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/ci-builder.yaml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Klipper Container Build and Push
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
login:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v3
11+
12+
- name: Login to Docker Hub
13+
uses: docker/login-action@v2
14+
with:
15+
username: ${{ secrets.DOCKERHUB_USERNAME }}
16+
password: ${{ secrets.DOCKERHUB_TOKEN }}
17+
18+
- name: Build
19+
run: docker build -f scripts/Dockerfile-build -t ${{ secrets.DOCKERHUB_USERNAME }}/klipper-build:latest .
20+
21+
- name: Push
22+
run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/klipper-build:latest

0 commit comments

Comments
 (0)