test docker

This commit is contained in:
Darren 2023-12-11 07:54:12 +08:00 committed by GitHub
parent a674e34c56
commit 5da303c767
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 6 deletions

View File

@ -13,8 +13,6 @@ on:
paths:
- "docker/*/Dockerfile"
jobs:
setup:
runs-on: ubuntu-latest
@ -75,7 +73,7 @@ jobs:
echo "DIRECTORY=docker/$APP" >> $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
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
if env.MEDIA_FROM == 'artifact'
## end------------ special task for apphub ---------------------#
##end------------ special task for apphub ---------------------#
- name: Build & push Docker image
uses: mr-smithers-excellent/docker-build-push@v6

View File

@ -77,7 +77,7 @@ jobs:
version.json
CHANGELOG.md
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 }}
draft: false
prerelease: false

View File

@ -1,7 +1,7 @@
# This file can running at actions
# 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