Skip to content

Commit cbf0377

Browse files
authored
Create docker-image.yml
1 parent 3230def commit cbf0377

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Docker Image CI
2+
3+
on:
4+
push:
5+
branches: [ "master", "actions"]
6+
pull_request:
7+
branches: [ "master", "actions" ]
8+
9+
jobs:
10+
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Build the Docker image
18+
run: |-
19+
docker build . --file Dockerfile --tag ghcr.io/arche-noah/swagger-generator:latest
20+
docker push $_

0 commit comments

Comments
 (0)