Skip to content

Checkout repository in GitHub workflows (#61) #176

Checkout repository in GitHub workflows (#61)

Checkout repository in GitHub workflows (#61) #176

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker image
id: docker_build
uses: docker/build-push-action@v6
with:
load: true
push: false
tags: joschi/tg-archive:${{ github.sha }}
- name: Scan image
uses: anchore/scan-action@v5
with:
image: joschi/tg-archive:${{ github.sha }}
fail-build: false
- name: Upload Anchore Scan Report
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif