mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 01:50:19 +08:00
apphub
This commit is contained in:
parent
b780e6d46b
commit
d696053ee9
8
.github/workflows/build_apphub.yml
vendored
8
.github/workflows/build_apphub.yml
vendored
@ -4,7 +4,7 @@ on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- "docker/w9apphub/Dockerfile"
|
||||
- "docker/apphub/Dockerfile"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -18,7 +18,7 @@ jobs:
|
||||
|
||||
- name: Get version
|
||||
run: |
|
||||
version=$(grep -Po '(?<=LABEL version=").*?(?=")' docker/w9apphub/Dockerfile)
|
||||
version=$(grep -Po '(?<=LABEL version=").*?(?=")' docker/apphub/Dockerfile)
|
||||
echo $version
|
||||
echo "::set-output name=version::$version"
|
||||
echo "VERSION=$version" >> $GITHUB_ENV
|
||||
@ -30,8 +30,8 @@ jobs:
|
||||
tags: ${{ env.VERSION }}
|
||||
addLatest: True
|
||||
registry: docker.io
|
||||
dockerfile: docker/w9apphub/Dockerfile
|
||||
directory: docker/w9apphub
|
||||
dockerfile: docker/apphub/Dockerfile
|
||||
directory: docker/apphub
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
|
8
.github/workflows/build_deployment.yml
vendored
8
.github/workflows/build_deployment.yml
vendored
@ -4,7 +4,7 @@ on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- "docker/w9deployment/Dockerfile"
|
||||
- "docker/deployment/Dockerfile"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -18,7 +18,7 @@ jobs:
|
||||
|
||||
- name: Get version
|
||||
run: |
|
||||
version=$(grep -Po '(?<=LABEL version=").*?(?=")' docker/w9deployment/Dockerfile)
|
||||
version=$(grep -Po '(?<=LABEL version=").*?(?=")' docker/deployment/Dockerfile)
|
||||
echo $version
|
||||
echo "::set-output name=version::$version"
|
||||
echo "VERSION=$version" >> $GITHUB_ENV
|
||||
@ -30,7 +30,7 @@ jobs:
|
||||
tags: ${{ env.VERSION }}
|
||||
addLatest: True
|
||||
registry: docker.io
|
||||
dockerfile: docker/w9deployment/Dockerfile
|
||||
directory: docker/w9deployment
|
||||
dockerfile: docker/deployment/Dockerfile
|
||||
directory: docker/deployment
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
8
.github/workflows/build_git.yml
vendored
8
.github/workflows/build_git.yml
vendored
@ -4,7 +4,7 @@ on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- "docker/w9git/Dockerfile"
|
||||
- "docker/git/Dockerfile"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -18,7 +18,7 @@ jobs:
|
||||
|
||||
- name: Get version
|
||||
run: |
|
||||
version=$(grep -Po '(?<=LABEL version=").*?(?=")' docker/w9git/Dockerfile)
|
||||
version=$(grep -Po '(?<=LABEL version=").*?(?=")' docker/git/Dockerfile)
|
||||
echo $version
|
||||
echo "::set-output name=version::$version"
|
||||
echo "VERSION=$version" >> $GITHUB_ENV
|
||||
@ -30,7 +30,7 @@ jobs:
|
||||
tags: ${{ env.VERSION }}
|
||||
addLatest: True
|
||||
registry: docker.io
|
||||
dockerfile: docker/w9git/Dockerfile
|
||||
directory: docker/w9git
|
||||
dockerfile: docker/git/Dockerfile
|
||||
directory: docker/git
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
@ -32,7 +32,6 @@ RUN pip install --upgrade pip && pip install -r apphub/requirements.txt
|
||||
RUN pip install supervisor
|
||||
COPY config/supervisord.conf /usr/local/supervisord.conf
|
||||
RUN chmod +r /usr/local/supervisord.conf
|
||||
|
||||
COPY config/entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user