mirror of
https://github.com/linuxserver/github-workflows.git
synced 2026-03-02 00:02:48 +08:00
use github var
This commit is contained in:
parent
e19df88189
commit
5a1fc764c5
2
.github/workflows/docker-mod-builder.yml
vendored
2
.github/workflows/docker-mod-builder.yml
vendored
@ -130,7 +130,7 @@ jobs:
|
||||
token: ${{ secrets.CR_PAT }}
|
||||
issue-number: ${{ github.event.pull_request.number }}
|
||||
body: |
|
||||
PR build pushed to `ghcr.io/${ENDPOINT}:pull_request_${{ github.event.pull_request.number }}`
|
||||
PR build pushed to `ghcr.io/${{ inputs.ENDPOINT }}:pull_request_${{ github.event.pull_request.number }}`
|
||||
|
||||
- name: Login to DockerHub
|
||||
if: ${{ (github.event_name == 'push' && github.ref == format('refs/heads/{0}-{1}', env.BASEIMAGE, env.MODNAME) && env.GITHUB_REPO == github.repository || env.GITHUB_REPO == format('{0}/{1}', github.event.pull_request.base.repo.owner.login, github.event.pull_request.base.repo.name)) && env.DOCKERUSER && env.DOCKERPASS }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user