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:
26
.github/workflows/push.yml
vendored
Normal file
26
.github/workflows/push.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user