Skip to content

Commit

Permalink
Release v1.7.6 - Reorg dockerfiles, version catchup. (#403)
Browse files Browse the repository at this point in the history
* Release v1.7.6 - Reorg dockerfiles, version catchup.

* Fix path

* Fix paths again
  • Loading branch information
echoboomer committed Dec 31, 2023
1 parent 5928254 commit 9d85944
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
command: |
echo 'export IMAGE_TAG=$(cat version)' >> "$BASH_ENV"
source "$BASH_ENV"
docker build --tag $IMAGE_NAME:$IMAGE_TAG .
docker build --file ./build/Dockerfile --tag $IMAGE_NAME:$IMAGE_TAG .
build-bot-arm64:
environment:
IMAGE_NAME: eb129/incident-bot
Expand All @@ -28,7 +28,7 @@ jobs:
command: |
echo 'export IMAGE_TAG=$(cat version)' >> "$BASH_ENV"
source "$BASH_ENV"
docker build --platform linux/arm64 --file Dockerfile.arm64 --tag $IMAGE_NAME:$IMAGE_TAG-arm64 .
docker build --platform linux/arm64 --file ./build/Dockerfile.arm64 --tag $IMAGE_NAME:$IMAGE_TAG-arm64 .
build-bot-lite:
environment:
IMAGE_NAME: eb129/incident-bot
Expand All @@ -42,7 +42,7 @@ jobs:
command: |
echo 'export IMAGE_TAG=$(cat version)' >> "$BASH_ENV"
source "$BASH_ENV"
docker build --file Dockerfile.lite --tag $IMAGE_NAME:$IMAGE_TAG-lite .
docker build --file ./build/Dockerfile.lite --tag $IMAGE_NAME:$IMAGE_TAG-lite .
build-bot-lite-arm64:
environment:
IMAGE_NAME: eb129/incident-bot
Expand All @@ -57,7 +57,7 @@ jobs:
command: |
echo 'export IMAGE_TAG=$(cat version)' >> "$BASH_ENV"
source "$BASH_ENV"
docker build --platform linux/arm64 --file Dockerfile.lite.arm64 --tag $IMAGE_NAME:$IMAGE_TAG-lite-arm64 .
docker build --platform linux/arm64 --file ./build/Dockerfile.lite.arm64 --tag $IMAGE_NAME:$IMAGE_TAG-lite-arm64 .
publish-bot:
environment:
IMAGE_NAME: eb129/incident-bot
Expand All @@ -71,7 +71,7 @@ jobs:
command: |
echo 'export IMAGE_TAG=$(cat version)' >> "$BASH_ENV"
source "$BASH_ENV"
docker build --tag $IMAGE_NAME:$IMAGE_TAG .
docker build --file ./build/Dockerfile --tag $IMAGE_NAME:$IMAGE_TAG .
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
docker push $IMAGE_NAME:$IMAGE_TAG
publish-bot-arm64:
Expand All @@ -88,7 +88,7 @@ jobs:
command: |
echo 'export IMAGE_TAG=$(cat version)' >> "$BASH_ENV"
source "$BASH_ENV"
docker build --platform linux/arm64 --file Dockerfile.arm64 --tag $IMAGE_NAME:$IMAGE_TAG-arm64 .
docker build --platform linux/arm64 --file ./build/Dockerfile.arm64 --tag $IMAGE_NAME:$IMAGE_TAG-arm64 .
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
docker push $IMAGE_NAME:$IMAGE_TAG-arm64
publish-bot-lite:
Expand All @@ -104,7 +104,7 @@ jobs:
command: |
echo 'export IMAGE_TAG=$(cat version)' >> "$BASH_ENV"
source "$BASH_ENV"
docker build --file Dockerfile.lite --tag $IMAGE_NAME:$IMAGE_TAG-lite .
docker build --file ./build/Dockerfile.lite --tag $IMAGE_NAME:$IMAGE_TAG-lite .
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
docker push $IMAGE_NAME:$IMAGE_TAG-lite
publish-bot-lite-arm64:
Expand All @@ -121,7 +121,7 @@ jobs:
command: |
echo 'export IMAGE_TAG=$(cat version)' >> "$BASH_ENV"
source "$BASH_ENV"
docker build --platform linux/arm64 --file Dockerfile.lite.arm64 --tag $IMAGE_NAME:$IMAGE_TAG-lite-arm64 .
docker build --platform linux/arm64 --file ./build/Dockerfile.lite.arm64 --tag $IMAGE_NAME:$IMAGE_TAG-lite-arm64 .
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
docker push $IMAGE_NAME:$IMAGE_TAG-lite-arm64
publish-docs:
Expand Down
2 changes: 1 addition & 1 deletion backend/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from iblog import logger, log_level
from typing import Dict, List

__version__ = "v1.7.4"
__version__ = "v1.7.6"

# .env parse
dotenv_path = os.path.join(os.path.dirname(__file__), ".env")
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ bases:

images:
- name: eb129/incident-bot
newTag: v1.7.4
newTag: v1.7.6

configMapGenerator:
- name: incident-bot-config
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
bot:
build:
context: .
dockerfile: Dockerfile
dockerfile: build/Dockerfile
command: ['./wait-for-it.sh', 'db:5432', '--', 'python3', 'main.py']
depends_on:
- db
Expand Down
2 changes: 1 addition & 1 deletion docs/deploy/overlays/production/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ bases:

images:
- name: eb129/incident-bot-docs
newTag: v1.7.4
newTag: v1.7.6

generatorOptions:
disableNameSuffixHash: true
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.7.4
v1.7.6

0 comments on commit 9d85944

Please sign in to comment.