Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 719 Bytes

File metadata and controls

36 lines (28 loc) · 719 Bytes

github-actions

This repository contains a collection of reusable GitHub actions and wworkflows which are used within our GitHub organization.

Usage

image

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' }}