Skip to content

Update ci.yaml

Update ci.yaml #3

Workflow file for this run

name: ci
on:
push:
branches:
- main
permissions:
contents: write
security-events: write
# Optional: allow read access to pull request. Use with `only-new-issues` option.
packages: write
jobs:
push-artifact:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.22'
cache: false
- name: inetall genval
run: go install github.com/intelops/genval@latest
- name: push-rego-policies
run: |
genval artifact push --reqinput ./default-policies/rego/docker_policies \
--dest ghcr.io/intelops/genval-security-policies/dockerfile-policies:v0.0.1 \
--annotations="authors=intelops Inc."