ci: push dev docker image to packages (#384)

This commit is contained in:
Shohei Ueda
2020-07-09 05:33:46 +09:00
committed by GitHub
parent 2e976845a6
commit 29acb8eaee
2 changed files with 19 additions and 3 deletions

View File

@@ -32,6 +32,12 @@ jobs:
if: contains(github.event.head_commit.message, '[skip ci]') == false
steps:
- uses: actions/checkout@v2.3.1
- name: Login to Packages
run: echo '${{ secrets.GITHUB_TOKEN }}' | docker login 'docker.pkg.github.com' -u 'peaceiris' --password-stdin
- run: make pull
if: github.event_name == 'pull_request'
- run: make build
- run: make cirun cmd="npm ci"
- run: make ciall
- run: make push
if: github.ref == 'refs/heads/master'