Skip to content

build(deps): Bump actions/upload-artifact from 4.4.0 to 4.4.3 #82

build(deps): Bump actions/upload-artifact from 4.4.0 to 4.4.3

build(deps): Bump actions/upload-artifact from 4.4.0 to 4.4.3 #82

Workflow file for this run

name: Build image
on:
workflow_dispatch:
push:
branches: main
pull_request:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
strategy:
matrix:
platform:
- linux/arm64
- linux/amd64
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Extract container metadata
id: meta
uses: docker/[email protected]
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=sha
env:
DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index
- name: Set up QEMU
uses: docker/[email protected]
- name: Setup Docker buildx
uses: docker/[email protected]
# Build image with Buildx (don't push)
- name: Build image
id: build-and-push
uses: docker/[email protected]
with:
context: .
platforms: ${{ matrix.platform }}
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
annotations: ${{ steps.meta.outputs.annotations }}
provenance: mode=max
sbom: true
outputs: |
type=image,name=target