mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 07:30:24 +00:00
0.7.6
This commit is contained in:
parent
817880773e
commit
f8430d8f73
2 changed files with 9 additions and 2 deletions
9
.github/workflows/appmanage_docker.yml
vendored
9
.github/workflows/appmanage_docker.yml
vendored
|
@ -18,11 +18,18 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
name: Check out code
|
||||
|
||||
- name: Get version
|
||||
if: ${{ steps.check_changes.outputs.appmanage_changed == 'true' }}
|
||||
run: |
|
||||
version=$(grep -Po '(?<=LABEL version=").*?(?=")' appmanage/Dockerfile)
|
||||
echo $version
|
||||
echo "::set-output name=version::$version"
|
||||
|
||||
- uses: mr-smithers-excellent/docker-build-push@v5
|
||||
name: Build & push Docker image
|
||||
with:
|
||||
image: websoft9dev/appmanage
|
||||
tags: 0.7.3
|
||||
tags: ${{ steps.get_version.outputs.version }}
|
||||
registry: docker.io
|
||||
dockerfile: appmanage/Dockerfile
|
||||
directory: appmanage
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
FROM python:3.10-slim
|
||||
LABEL maintainer="Websoft9<help@websoft9.com>"
|
||||
LABEL version="0.7.3"
|
||||
LABEL version="0.7.6"
|
||||
|
||||
# Create API Directory
|
||||
WORKDIR /usr/src/app
|
||||
|
|
Loading…
Reference in a new issue