Compare commits

...

2 Commits

Author SHA1 Message Date
25fe1f48c7 34
Some checks failed
Build Docker Image And Push / Build PHP ${{ matrix.php-version }} (ubuntu-latest, 8.0) (push) Failing after 2m3s
2024-03-15 10:07:23 +08:00
b7d9a17121 32 2024-03-15 10:06:34 +08:00

View File

@ -2,7 +2,14 @@ name: Build Docker Image And Push
on: on:
push: push:
tags: [ 'v*.*.*' ] branches:
- main
pull_request:
branches:
- main
# on:
# push:
# tags: [ 'v*.*.*' ]
env: env:
PHP_EXTENSION_INSTALL_VERSION: 'latest' PHP_EXTENSION_INSTALL_VERSION: 'latest'
@ -34,13 +41,13 @@ jobs:
username: ${{ secrets.HUB_USERNAME }} username: ${{ secrets.HUB_USERNAME }}
password: ${{ secrets.HUB_PASSWORD }} password: ${{ secrets.HUB_PASSWORD }}
# - name: Get Meta - name: Get Meta
# id: meta id: meta
# run: | run: |
# echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT
# echo REPO_VERSION=$(echo ${{ github.ref }} | awk -F"/" '{print $3}' | awk -F"v" '{print $2}') >> $GITHUB_OUTPUT echo REPO_VERSION=$(echo ${{ github.ref }} | awk -F"/" '{print $3}' | awk -F"v" '{print $2}') >> $GITHUB_OUTPUT
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v3
with: with:
github-server-url: http://git.des8.com github-server-url: http://git.des8.com
repository: ${{ secrets.HUB_USERNAME }}/webman-docker repository: ${{ secrets.HUB_USERNAME }}/webman-docker