Skip to content

Commit

Permalink
Add docker release actions
Browse files Browse the repository at this point in the history
  • Loading branch information
winterjung committed Oct 28, 2022
1 parent 7f51d99 commit b123152
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ on:
- v*

jobs:
build:
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Build
run: docker build -t build-test .

unit:
runs-on: ubuntu-18.04
steps:
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
push:
tags:
- v*

name: release

jobs:
docker:
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Build and push
uses: docker/build-push-action@v1
with:
username: winterjung
password: ${{ secrets.DOCKER_PASSWORD }}
repository: winterjung/split
tag_with_ref: true

0 comments on commit b123152

Please sign in to comment.