Skip to content

Commit

Permalink
Adjust github setting
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesChou committed Mar 26, 2022
1 parent 19eee2b commit e24bb6a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/docker_hub_registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ on:
push:
branches:
- master
workflow_dispatch:

jobs:
latest-cli:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build latest CLI version and publish
uses: elgohr/Publish-Docker-Github-Action@2.22
uses: elgohr/Publish-Docker-Github-Action@3.04
with:
name: mileschou/xdebug
tags: "latest,cli,8.1"
Expand All @@ -24,7 +25,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Build latest Alpine version and publish
uses: elgohr/Publish-Docker-Github-Action@2.22
uses: elgohr/Publish-Docker-Github-Action@3.04
with:
name: mileschou/xdebug
tags: "alpine,8.1-alpine"
Expand All @@ -37,7 +38,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Build latest Apache version and publish
uses: elgohr/Publish-Docker-Github-Action@master
uses: elgohr/Publish-Docker-Github-Action@3.04
with:
name: mileschou/xdebug
tags: "apache,8.1-apache"
Expand All @@ -53,7 +54,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Build PHP ${{ matrix.version }} CLI and publish
uses: elgohr/Publish-Docker-Github-Action@master
uses: elgohr/Publish-Docker-Github-Action@3.04
with:
name: mileschou/xdebug
tags: ${{ matrix.version }},${{ matrix.version }}-cli
Expand All @@ -69,7 +70,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Build PHP ${{ matrix.version }} Alpine and publish
uses: elgohr/Publish-Docker-Github-Action@master
uses: elgohr/Publish-Docker-Github-Action@3.04
with:
name: mileschou/xdebug:${{ matrix.version }}-alpine
username: ${{ secrets.DOCKER_HUB_USERNAME }}
Expand All @@ -84,7 +85,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Build PHP ${{ matrix.version }} Apache and publish
uses: elgohr/Publish-Docker-Github-Action@master
uses: elgohr/Publish-Docker-Github-Action@3.04
with:
name: mileschou/xdebug:${{ matrix.version }}-apache
username: ${{ secrets.DOCKER_HUB_USERNAME }}
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/github_container_registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
workflow_dispatch:
schedule:
- cron: '30 4 * * 3' # Weekly on Wednesday at 04:30

Expand All @@ -13,7 +14,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Build latest CLI version and publish
uses: elgohr/Publish-Docker-Github-Action@2.22
uses: elgohr/Publish-Docker-Github-Action@3.04
with:
name: mileschou/xdebug
tags: "latest,8.1"
Expand All @@ -27,7 +28,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Build latest Alpine version and publish
uses: elgohr/Publish-Docker-Github-Action@2.22
uses: elgohr/Publish-Docker-Github-Action@3.04
with:
name: mileschou/xdebug
tags: "alpine,8.1-alpine"
Expand All @@ -41,7 +42,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Build latest Apache version and publish
uses: elgohr/Publish-Docker-Github-Action@master
uses: elgohr/Publish-Docker-Github-Action@3.04
with:
name: mileschou/xdebug
tags: "apache,8.1-apache"
Expand All @@ -58,7 +59,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Build PHP ${{ matrix.version }} CLI and publish
uses: elgohr/Publish-Docker-Github-Action@master
uses: elgohr/Publish-Docker-Github-Action@3.04
with:
name: mileschou/xdebug
tags: ${{ matrix.version }},${{ matrix.version }}-cli
Expand All @@ -75,7 +76,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Build PHP ${{ matrix.version }} Alpine and publish
uses: elgohr/Publish-Docker-Github-Action@master
uses: elgohr/Publish-Docker-Github-Action@3.04
with:
name: mileschou/xdebug:${{ matrix.version }}-alpine
username: mileschou
Expand All @@ -91,7 +92,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Build PHP ${{ matrix.version }} Apache and publish
uses: elgohr/Publish-Docker-Github-Action@master
uses: elgohr/Publish-Docker-Github-Action@3.04
with:
name: mileschou/xdebug:${{ matrix.version }}-apache
username: mileschou
Expand Down

0 comments on commit e24bb6a

Please sign in to comment.