action_publish-images-prs.yml 701 B

12345678910111213141516171819202122
  1. name: Docker Publish (PR Images)
  2. on:
  3. workflow_dispatch:
  4. pull_request:
  5. types: [opened, synchronize, reopened]
  6. paths:
  7. - src/**
  8. - .github/workflows/action_publish-images-**
  9. - .github/workflows/service_docker-**
  10. - scripts/**
  11. jobs:
  12. build-dev-images:
  13. if: ${{ github.event_name == 'pull_request' && ! github.event.pull_request.head.repo.fork }}
  14. uses: ./.github/workflows/service_docker-build-and-publish.yml
  15. with:
  16. registry-repositories: "docker.io/serversideup/php-dev" # Set to our development repository
  17. tag-prefix: "${{ github.event.pull_request.number }}"
  18. release-type: testing
  19. authenticate_with_ghcr: false
  20. secrets: inherit