Skip to content

ensure audit works when setting a non-null value to null #7

ensure audit works when setting a non-null value to null

ensure audit works when setting a non-null value to null #7

Workflow file for this run

name: Build container
on:
push:
tags:
- "v*"
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
QEMU_PLATFORMS: "linux/amd64,linux/arm64"
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Extract metadata (tags, labels) for container
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Log in to the container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- # Add support for more platforms with QEMU
name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: ${{ env.QEMU_PLATFORMS }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push container image
uses: docker/build-push-action@v5
with:
context: .
platforms: ${{ env.QEMU_PLATFORMS }}
file: "Dockerfile"
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}