1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-30 09:45:15 +01:00

converted main.workflow to Actions V2 yml files

This commit is contained in:
Amir Raminfar
2019-08-23 13:35:07 -07:00
parent af42d980d0
commit 3bd3dd2d04
3 changed files with 27 additions and 28 deletions

26
.github/workflows/push.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
on: push
name: Build, Test and Release
jobs:
npmTest:
name: npm test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: npm test
uses: actions/npm@master
with:
args: it
- name: go test
uses: ./.github/golang/
- name: Tag
uses: actions/bin/filter@master
with:
args: tag
- name: Release
uses: ./.github/goreleaser/
env:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: release