always use buildkit to build your docker images, even in concourse :) #204
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CodeQL | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: go | |
- name: build | |
uses: docker://golang:1.21 | |
with: | |
entrypoint: /bin/sh | |
args: -c "go build cmd/halfpipe.go" | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |