diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml deleted file mode 100644 index 1be960e..0000000 --- a/.github/workflows/security.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Security - -on: [push] - -jobs: - - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - - name: Set tag var - id: vars - run: echo ::set-output name=docker_tag::$(echo ${GITHUB_REF} | cut -d'/' -f3)-${GITHUB_SHA} - - - name: Build the Docker image - run: docker build . --file Dockerfile --tag docker-kubectl:${{ steps.vars.outputs.docker_tag }} - - - name: Scan with Phonito Security - uses: phonito/phonito-scanner-action@master - with: - image: docker-kubectl:${{ steps.vars.outputs.docker_tag }} - phonito-token: ${{ secrets.PHONITO_TOKEN }} \ No newline at end of file