mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-27 00:04:23 -04:00
chore: auto-set-version-on-ci (#2188)
* setup __version__ on build * make build clickable link * fix else-if
This commit is contained in:
8
.github/workflows/partial-builder.yml
vendored
8
.github/workflows/partial-builder.yml
vendored
@@ -71,6 +71,10 @@ jobs:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Override __init__.py
|
||||
run: |
|
||||
echo "__version__ = \"${{ inputs.tag }}\"" > ./mealie/__init__.py
|
||||
|
||||
- name: Build Backend Image
|
||||
run: |
|
||||
docker build --push --no-cache \
|
||||
@@ -104,6 +108,10 @@ jobs:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Override __init__.py
|
||||
run: |
|
||||
echo "__version__ = \"${{ inputs.tag }}\"" > ./mealie/__init__.py
|
||||
|
||||
- name: Build Omni-Image
|
||||
run: |
|
||||
docker build --push --no-cache \
|
||||
|
||||
Reference in New Issue
Block a user