Improvements for haven-notify
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user