mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 09:20:20 +08:00
test docker
This commit is contained in:
parent
a674e34c56
commit
5da303c767
6
.github/workflows/docker.yml
vendored
6
.github/workflows/docker.yml
vendored
@ -13,8 +13,6 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- "docker/*/Dockerfile"
|
- "docker/*/Dockerfile"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
setup:
|
setup:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -75,7 +73,7 @@ jobs:
|
|||||||
echo "DIRECTORY=docker/$APP" >> $GITHUB_ENV
|
echo "DIRECTORY=docker/$APP" >> $GITHUB_ENV
|
||||||
echo "README=docker/$APP/README.md" >> $GITHUB_ENV
|
echo "README=docker/$APP/README.md" >> $GITHUB_ENV
|
||||||
|
|
||||||
## begin----------- special task for apphub----------------------#
|
##begin----------- special task for apphub----------------------#
|
||||||
|
|
||||||
- name: Trigger media.yml workflow
|
- name: Trigger media.yml workflow
|
||||||
uses: mathze/workflow-dispatch-action@v1.1.0
|
uses: mathze/workflow-dispatch-action@v1.1.0
|
||||||
@ -104,7 +102,7 @@ jobs:
|
|||||||
curl -o media.zip https://w9artifact.blob.core.windows.net/release/websoft9/plugin/media/media-latest.zip
|
curl -o media.zip https://w9artifact.blob.core.windows.net/release/websoft9/plugin/media/media-latest.zip
|
||||||
if env.MEDIA_FROM == 'artifact'
|
if env.MEDIA_FROM == 'artifact'
|
||||||
|
|
||||||
## end------------ special task for apphub ---------------------#
|
##end------------ special task for apphub ---------------------#
|
||||||
|
|
||||||
- name: Build & push Docker image
|
- name: Build & push Docker image
|
||||||
uses: mr-smithers-excellent/docker-build-push@v6
|
uses: mr-smithers-excellent/docker-build-push@v6
|
||||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -77,7 +77,7 @@ jobs:
|
|||||||
version.json
|
version.json
|
||||||
CHANGELOG.md
|
CHANGELOG.md
|
||||||
tag_name: ${{ steps.convert_version.outputs.VERSION }}
|
tag_name: ${{ steps.convert_version.outputs.VERSION }}
|
||||||
title: Release-${{ steps.convert_version.outputs.VERSION }}
|
name: Release-${{ steps.convert_version.outputs.VERSION }}
|
||||||
body: ${{ steps.update_data.outputs.CHANGELOG }}
|
body: ${{ steps.update_data.outputs.CHANGELOG }}
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# This file can running at actions
|
# This file can running at actions
|
||||||
# If you build this image on local, need download media.zip from WEBSOFT9_ARTIFACT to docker/apphub directory
|
# If you build this image on local, need download media.zip from WEBSOFT9_ARTIFACT to docker/apphub directory
|
||||||
|
|
||||||
# modify time: 202312081919, you can modify here to trigger Docker Build action
|
# modify time: 202312110754, you can modify here to trigger Docker Build action
|
||||||
|
|
||||||
|
|
||||||
FROM python:3.10-slim-bullseye
|
FROM python:3.10-slim-bullseye
|
||||||
|
Loading…
Reference in New Issue
Block a user