Github CD
This commit is contained in:
@@ -6,15 +6,14 @@ on:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
|
||||
docker-releases:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Get release version
|
||||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
||||
|
||||
- name: downcase username
|
||||
- name: Downcase username
|
||||
run: echo "lower_actor=${GITHUB_ACTOR,,}" >> $GITHUB_ENV
|
||||
|
||||
- name: Checkout
|
||||
@@ -39,6 +38,5 @@ jobs:
|
||||
context: ./
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/${{ env.lower_actor }}/aperisolve:latest
|
||||
ghcr.io/${{ env.lower_actor }}/aperisolve:${{ env.RELEASE_VERSION }}
|
||||
|
||||
ghcr.io/${{ env.lower_actor }}/aperisolve:latest
|
||||
@@ -3,3 +3,4 @@
|
||||
__pycache__/
|
||||
.mypy_cache/
|
||||
results/
|
||||
.vscode
|
||||
|
||||
@@ -155,4 +155,3 @@ def init_db(app: Flask) -> None:
|
||||
print("Running as worker, skipping IHDR table fill.")
|
||||
else:
|
||||
fill_ihdr_db()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user