Compare commits
2 Commits
e090cfad10
...
25fe1f48c7
Author | SHA1 | Date | |
---|---|---|---|
25fe1f48c7 | |||
b7d9a17121 |
21
.github/workflows/docker-image.yml
vendored
21
.github/workflows/docker-image.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user