This commit is contained in:
qiaofeng1227 2023-07-07 09:09:59 +08:00
parent 65b211401f
commit eb3b01957e
2 changed files with 3 additions and 2 deletions

View file

@ -23,12 +23,13 @@ jobs:
version=$(grep -Po '(?<=LABEL version=").*?(?=")' appmanage/Dockerfile)
echo $version
echo "::set-output name=version::$version"
echo "VERSION=$version" >> $GITHUB_ENV
- uses: mr-smithers-excellent/docker-build-push@v5
name: Build & push Docker image
with:
image: websoft9dev/appmanage
tags: ${{ steps.get_version.outputs.version }}
tags: ${{ env.VERSION }}
registry: docker.io
dockerfile: appmanage/Dockerfile
directory: appmanage

View file

@ -1,6 +1,6 @@
FROM python:3.10-slim
LABEL maintainer="Websoft9<help@websoft9.com>"
LABEL version="0.7.7"
LABEL version="0.5.8"
# Create API Directory
WORKDIR /usr/src/app