Improvements for haven-notify
Some checks failed
Check scripts syntax / check-scripts-syntax (push) Successful in 1m19s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Failing after 1m51s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Successful in 33s

This commit is contained in:
2025-08-21 21:11:22 -03:00
parent 7520d70ce9
commit 100262513b
5 changed files with 201 additions and 41 deletions

View File

@@ -16,40 +16,8 @@ env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
jobs:
# build_haven_notify:
# name: Build Haven Notify Image (arm64)
# runs-on: ubuntu-arm64
# steps:
# - name: Check out repository
# uses: actions/checkout@v2
# - name: Install Docker
# run: |
# apt-get update
# apt-get install -y docker.io
# - name: Log in to Container Registry
# run: |
# echo "${{ secrets.REGISTRY_PASSWORD }}" \
# | docker login "${{ env.REGISTRY_HOST }}" \
# -u "${{ env.REGISTRY_USERNAME }}" \
# --password-stdin
# - name: Build and Push Image
# run: |
# TAG=latest
# cd haven-notify
# docker build \
# -t "${{ env.IMAGE_NOTIFY }}:${TAG}" \
# -f Dockerfile .
# docker push "${{ env.IMAGE_NOTIFY }}:${TAG}"
build_haven_notify_amd64:
name: Build Haven Notify Image (amd64)
build_haven_notify:
name: Build Haven Notify Image
runs-on: ubuntu-latest
steps:
@@ -74,14 +42,15 @@ jobs:
cd haven-notify
docker build \
docker buildx build \
-t "${{ env.IMAGE_NOTIFY }}:${TAG}" \
--platform linux/amd64,linux/arm64 \
-f Dockerfile .
docker push "${{ env.IMAGE_NOTIFY }}:${TAG}"
deploy_haven_notify:
name: Deploy Haven Notify
name: Deploy Haven Notify (internal)
runs-on: ubuntu-amd64
needs: build_haven_notify_amd64
steps: