Skip to content

Merge pull request #2 from golang-cz/update_to_latest_version #6

Merge pull request #2 from golang-cz/update_to_latest_version

Merge pull request #2 from golang-cz/update_to_latest_version #6

Workflow file for this run

name: Build static analysis tool with custom plugins
on:
push:
branches:
- master
pull_request:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
docker-build:
runs-on: ubuntu-latest
steps:
- name: Git clone
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Log into Github registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Docker build
run: |
docker build -t ghcr.io/golang-cz/static-analysis .
docker push ghcr.io/golang-cz/static-analysis