Skip to content

Commit f568fee

Browse files
author
崔庆才丨静觅
authored
Create build.yml
1 parent 3e7a2cf commit f568fee

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: build
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout Source
11+
uses: actions/checkout@v1
12+
- name: Docker Login
13+
run: docker login -u germey -p ${{ secrets.DOCKERHUB_LOGIN_PASSWORD }}
14+
- name: Build the Docker Image
15+
run: docker-compose build
16+
- name: Push the Docker Image
17+
run: docker-compose push

0 commit comments

Comments
 (0)