Compare commits
No commits in common. "25fe1f48c791a75a4bbc7aebee9c3b0f37472df7" and "e090cfad10430e41d78d29138607ceff0314c29e" have entirely different histories.
25fe1f48c7
...
e090cfad10
21
.github/workflows/docker-image.yml
vendored
21
.github/workflows/docker-image.yml
vendored
@ -2,14 +2,7 @@ name: Build Docker Image And Push
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
tags: [ 'v*.*.*' ]
|
||||||
- main
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
# on:
|
|
||||||
# push:
|
|
||||||
# tags: [ 'v*.*.*' ]
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PHP_EXTENSION_INSTALL_VERSION: 'latest'
|
PHP_EXTENSION_INSTALL_VERSION: 'latest'
|
||||||
@ -41,13 +34,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@v3
|
uses: actions/checkout@v4
|
||||||
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