Add environment for build-and-publish job

Added environment configuration for build-pr.
This commit is contained in:
Enno Gelhaus 2025-10-01 14:07:15 +02:00 committed by GitHub
parent 2580b8ecdc
commit 3a1ada8498
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 1 deletions

View File

@ -9,10 +9,16 @@ permissions: write-all
jobs:
build-and-publish:
runs-on: ubuntu-latest
environment:
name: build-pr
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3