Skip to content

build(deps-dev): bump pytest from 9.0.3 to 9.1.0 (#31) #26

build(deps-dev): bump pytest from 9.0.3 to 9.1.0 (#31)

build(deps-dev): bump pytest from 9.0.3 to 9.1.0 (#31) #26

Workflow file for this run

name: Publish
on:
push:
branches: [main]
tags: ["v*"]
permissions: {}
jobs:
prepare:
name: Prepare
runs-on: ubuntu-24.04
environment: publish-ghcr
permissions:
contents: read
outputs:
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }}
version: ${{ steps.meta.outputs.version }}
steps:
# Required for docker/metadata-action
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
# Automatically creates release tags based on the event
# e.g.:
# - if pushed to a branch and branch is 'main', then the tag will be 'main'.
# - if pushed a git tag, then the image tag will be the git tag value (e.g., v1.0.0)
- name: Generate Metadata
id: meta
uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0
with:
images: ghcr.io/saleor/sarif-to-annotations
build-push:
needs: prepare
uses: saleor/saleor-internal-actions/.github/workflows/build-push-image-multi-platform.yaml@d7b612674c6d2c0c04c9e946e5decfc483e2795a # v1.12.0
permissions:
contents: read
id-token: write # needed for AWS/ECR login (not used, but required permission)
packages: write # needed for GHCR
with:
enable-ghcr: true
oci-full-repository: ghcr.io/saleor/sarif-to-annotations
tags: ${{ needs.prepare.outputs.tags }}
labels: ${{ needs.prepare.outputs.labels }}