action_publish-images-dev-main.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. name: Docker Publish (Dev "Main" Images)
  2. on:
  3. workflow_dispatch:
  4. push:
  5. branches:
  6. - main
  7. paths:
  8. - src/**
  9. - .github/workflows/action_publish-images-**
  10. - .github/workflows/service_docker-**
  11. - scripts/**
  12. jobs:
  13. build-dev-images:
  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: ''
  18. release-type: latest
  19. authenticate_with_ghcr: false
  20. secrets: inherit
  21. update_container_readme:
  22. runs-on: ubuntu-24.04
  23. name: Push README to Docker Hub
  24. steps:
  25. - name: git checkout
  26. uses: actions/checkout@v4
  27. with:
  28. ref: main
  29. - name: push README to Dockerhub
  30. uses: christian-korneck/update-container-description-action@v1
  31. env:
  32. DOCKER_USER: ${{ secrets.DOCKER_HUB_README_USERNAME }}
  33. DOCKER_PASS: ${{ secrets.DOCKER_HUB_README_PASSWORD }}
  34. with:
  35. destination_container_repo: serversideup/php
  36. provider: dockerhub
  37. short_description: 'Production-ready PHP Docker images optimized for Laravel and WordPress.'
  38. readme_file: 'README.md'