aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yml40
-rw-r--r--.github/workflows/test.yml18
-rw-r--r--.github/workflows/trivy.yml38
3 files changed, 0 insertions, 96 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
deleted file mode 100644
index a8a47ef..0000000
--- a/.github/workflows/main.yml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-name: Build
-on:
- push:
- branches: [ master ]
- schedule:
- - cron: '5 4 * * *'
- workflow_dispatch:
-
-jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - run: |
- make docker-test
-
- push:
- runs-on: ubuntu-latest
- needs: [ build ]
- permissions:
- packages: write
- contents: read
- steps:
- - uses: actions/checkout@v2
- with:
- fetch-depth: 0
-
- - uses: docker/login-action@v1
- env:
- GITHUB_USER: ${{ github.actor }}
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- registry: ghcr.io
- username: $GITHUB_USER
- password: ${{ secrets.GITHUB_TOKEN }}
-
- - run: |
- make docker-push \
- DOCKER_EXTRA_ARGS="-v ${HOME}/.docker:/root/.docker"
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
deleted file mode 100644
index 63c8c1b..0000000
--- a/.github/workflows/test.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-name: Test
-
-on:
- push:
- branches: [ master ]
- pull_request:
- branches: [ master ]
- workflow_dispatch:
-
-jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
-
- - run: |
- make docker-test
diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml
deleted file mode 100644
index ce25513..0000000
--- a/.github/workflows/trivy.yml
+++ /dev/null
@@ -1,38 +0,0 @@
-name: Trivy
-
-on:
- workflow_dispatch:
- push:
- branches: [ master ]
- pull_request:
- branches: [ master ]
- schedule:
- - cron: '28 15 * * 3'
-
-permissions:
- contents: read
-
-jobs:
- build:
- permissions:
- contents: read
- security-events: write
- runs-on: "ubuntu-18.04"
- steps:
- - uses: actions/checkout@v2
-
- - run: |
- docker build -t docker.io/my-organization/my-app:${{ github.sha }} .
-
- - uses: aquasecurity/trivy-action@2a2157eb22c08c9a1fac99263430307b8d1bc7a2
- with:
- image-ref: 'docker.io/my-organization/my-app:${{ github.sha }}'
- format: 'template'
- template: '@/contrib/sarif.tpl'
- output: 'trivy-results.sarif'
- severity: 'CRITICAL,HIGH'
- ignore-unfixed: true
-
- - uses: github/codeql-action/upload-sarif@v1
- with:
- sarif_file: 'trivy-results.sarif'