Add environment for build-and-publish job
Added environment configuration for build-pr.
This commit is contained in:
parent
2580b8ecdc
commit
3a1ada8498
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue