Skip to content

Commit

Permalink
Merge pull request #11 from pfnet-research/release-workflow
Browse files Browse the repository at this point in the history
Add the release workflow
  • Loading branch information
everpeace authored Apr 18, 2022
2 parents 5f5c914 + b253e7c commit 7aa5809
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: make lint
- run: make test

Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Release

on:
push:
tags: ["v*"]

jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: make docker-build-all
- run: make push-all

0 comments on commit 7aa5809

Please sign in to comment.