We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e7090a commit 036070bCopy full SHA for 036070b
1 file changed
.github/workflows/docker-build.yml
@@ -0,0 +1,28 @@
1
+name: Docker build
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - main
8
9
+jobs:
10
+ docker-build:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v4
15
16
+ - name: Set up Docker Buildx
17
+ uses: docker/setup-buildx-action@v3
18
19
+ # Build only (no push). If this fails, the PR breaks container builds.
20
+ - name: Build Docker image
21
+ uses: docker/build-push-action@v6
22
+ with:
23
+ context: .
24
+ file: ./Dockerfile
25
+ push: false
26
+ tags: clawdbot-railway-template:ci
27
+ cache-from: type=gha
28
+ cache-to: type=gha,mode=max
0 commit comments