Skip to content

Commit 16562b3

Browse files
committed
Changed main to run on dispatch only
1 parent c8c2eeb commit 16562b3

2 files changed

Lines changed: 31 additions & 29 deletions

File tree

‎.github/workflows/action_publish-images-dev-main.yml‎

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@ name: Docker Publish (Dev "Main" Images)
22

33
on:
44
workflow_dispatch:
5-
push:
6-
branches:
7-
- main
8-
paths:
9-
- src/**
10-
- .github/workflows/action_publish-images-**
11-
- .github/workflows/service_docker-**
12-
- scripts/**
135

146
jobs:
157
build-dev-images:
@@ -19,24 +11,4 @@ jobs:
1911
tag-prefix: ''
2012
release-type: latest
2113
authenticate_with_ghcr: false
22-
secrets: inherit
23-
24-
update_container_readme:
25-
runs-on: ubuntu-24.04
26-
name: Push README to Docker Hub
27-
steps:
28-
- name: git checkout
29-
uses: actions/checkout@v4
30-
with:
31-
ref: main
32-
33-
- name: push README to Dockerhub
34-
uses: christian-korneck/update-container-description-action@v1
35-
env:
36-
DOCKER_USER: ${{ secrets.DOCKER_HUB_README_USERNAME }}
37-
DOCKER_PASS: ${{ secrets.DOCKER_HUB_README_PASSWORD }}
38-
with:
39-
destination_container_repo: serversideup/php
40-
provider: dockerhub
41-
short_description: 'Production-ready PHP Docker images optimized for Laravel and WordPress.'
42-
readme_file: 'README.md'
14+
secrets: inherit
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Update Docker Hub README
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
paths:
9+
- README.md
10+
11+
jobs:
12+
update_container_readme:
13+
runs-on: ubuntu-24.04
14+
name: Push README to Docker Hub
15+
steps:
16+
- name: git checkout
17+
uses: actions/checkout@v4
18+
with:
19+
ref: main
20+
21+
- name: push README to Dockerhub
22+
uses: christian-korneck/update-container-description-action@v1
23+
env:
24+
DOCKER_USER: ${{ secrets.DOCKER_HUB_README_USERNAME }}
25+
DOCKER_PASS: ${{ secrets.DOCKER_HUB_README_PASSWORD }}
26+
with:
27+
destination_container_repo: serversideup/php
28+
provider: dockerhub
29+
short_description: 'Production-ready PHP Docker images optimized for Laravel and WordPress.'
30+
readme_file: 'README.md'

0 commit comments

Comments
 (0)