File tree Expand file tree Collapse file tree 1 file changed +20
-26
lines changed
Expand file tree Collapse file tree 1 file changed +20
-26
lines changed Original file line number Diff line number Diff line change 1- # ################################
2- # IMPORTANT NOTE:
3- # We are commenting PRs out until we have a better way to allow
4- # forks to securely upload to a Docker Registry without exposing
5- # our own credentials.
6- # ################################
1+ name : Docker Publish (PR Images)
72
8- # name: Docker Publish (PR Images)
3+ on :
4+ workflow_dispatch :
5+ pull_request :
6+ types : [opened, synchronize, reopened]
7+ paths :
8+ - src/**
9+ - .github/workflows/action_publish-images-**
10+ - .github/workflows/service_docker-**
11+ - scripts/**
912
10- # on:
11- # workflow_dispatch:
12- # pull_request:
13- # types: [opened, synchronize, reopened]
14- # paths:
15- # - src/**
16- # - .github/workflows/action_publish-images-**
17- # - .github/workflows/service_docker-**
18- # - scripts/**
19-
20- # jobs:
21- # build-dev-images:
22- # uses: ./.github/workflows/service_docker-build-and-publish.yml
23- # with:
24- # registry-repositories: "docker.io/serversideup/php-dev" # Set to our development repository
25- # tag-prefix: "${{ github.event.pull_request.number }}"
26- # release-type: testing
27- # authenticate_with_ghcr: false
28- # secrets: inherit
13+ jobs :
14+ build-dev-images :
15+ if : ${{ github.event_name == 'pull_request' && ! github.event.pull_request.head.repo.fork }}
16+ uses : ./.github/workflows/service_docker-build-and-publish.yml
17+ with :
18+ registry-repositories : " docker.io/serversideup/php-dev" # Set to our development repository
19+ tag-prefix : " ${{ github.event.pull_request.number }}"
20+ release-type : testing
21+ authenticate_with_ghcr : false
22+ secrets : inherit
You can’t perform that action at this time.
0 commit comments