actions: since actions has no easy way to get tags, hardcode version in ci and bump with bumpversion
This commit is contained in:
parent
766518ee0e
commit
fa55ba5ef0
|
@ -19,7 +19,7 @@ values =
|
|||
|
||||
[bumpversion:file:helm/Chart.yaml]
|
||||
|
||||
[bumpversion:file:.gitlab-ci.yml]
|
||||
[bumpversion:file:.github/workflows/ci.yml]
|
||||
|
||||
[bumpversion:file:passbook/__init__.py]
|
||||
|
||||
|
|
|
@ -143,9 +143,9 @@ jobs:
|
|||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||
run: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
|
||||
- name: Building Docker Image
|
||||
run: docker build --no-cache -t beryju/passbook:${{ github.sha }} -f Dockerfile .
|
||||
run: docker build --no-cache -t beryju/passbook:0.7.5-beta -f Dockerfile .
|
||||
- name: Push Docker Container to Registry
|
||||
run: docker push beryju/passbook:${{ github.sha }}
|
||||
run: docker push beryju/passbook:0.7.5-beta
|
||||
build-static:
|
||||
needs:
|
||||
- migrations
|
||||
|
@ -171,10 +171,10 @@ jobs:
|
|||
run: docker build
|
||||
--no-cache
|
||||
--network=$(docker network ls | grep github | awk '{print $1}')
|
||||
-t beryju/passbook-static:${{ github.sha }}
|
||||
-t beryju/passbook-static:0.7.5-beta
|
||||
-f static.Dockerfile .
|
||||
- name: Push Docker Container to Registry
|
||||
run: docker push beryju/passbook-static:${{ github.sha }}
|
||||
run: docker push beryju/passbook-static:0.7.5-beta
|
||||
package-helm:
|
||||
needs:
|
||||
- build-server
|
||||
|
|
Reference in New Issue