forked from shuaiscott/zap2xml
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (32 loc) · 1012 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: zap2xml CI
on: [push, pull_request, workflow_dispatch]
jobs:
documentation:
name: Attach Documentation
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 1
submodules: 'false'
- name: Attach Documentation
run: cat .github/workflows/README.md >> $GITHUB_STEP_SUMMARY
build:
name: Build and Push zap2xml
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Install Dependencies
run: .github/workflows/deps.sh
- name: Lint
run: .github/workflows/lint.sh
- name: Docker Build
run: .github/workflows/docker.sh
- name: Docker Tag and Push
run: .github/workflows/docker.sh push
env:
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}