Skip to content

Commit b7b6386

Browse files
committed
CI cleanup
1 parent 1e0ebe8 commit b7b6386

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/docker.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Docker Build
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
7+
jobs:
8+
build:
9+
name: Build Docker Image
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Set up Docker Buildx
16+
uses: docker/setup-buildx-action@v3
17+
18+
- name: Build API image
19+
uses: docker/build-push-action@v5
20+
with:
21+
context: .
22+
file: ./Dockerfile
23+
push: false
24+
tags: scrapflow-api:latest
25+
cache-from: type=gha
26+
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)