Skip to content

Commit f50fbf7

Browse files
Create build.yml
1 parent 00b3c34 commit f50fbf7

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build
2+
on:
3+
push:
4+
branches: [main]
5+
workflow_dispatch:
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
13+
- uses: docker/login-action@v3
14+
with:
15+
username: ${{ secrets.DOCKERHUB_USERNAME }}
16+
password: ${{ secrets.DOCKERHUB_PASSWORD }}
17+
18+
- uses: docker/build-push-action@v6
19+
with:
20+
context: .
21+
push: true
22+
tags: swiftfiddle/swiftfiddle-lsp:latest

0 commit comments

Comments
 (0)