This repository contains a collection of reusable GitHub actions and wworkflows which are used within our GitHub organization.
This reusable workflow can help with building images in pull requests, publishing them post merge and scanning them for vulnerabilities.
name: ci
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
permissions:
actions: read
contents: write
id-token: write
packages: write
security-events: write
jobs:
image:
uses: vexxhost/github-actions/.github/workflows/image.yml@main
with:
image-ref: ghcr.io/${{ github.repository_owner }}/ubuntu
push: ${{ github.event_name == 'push' }}