diff --git a/.gitea/workflows/haven-notify.yaml b/.gitea/workflows/haven-notify.yaml index 00ef4f0..1b9dfb1 100644 --- a/.gitea/workflows/haven-notify.yaml +++ b/.gitea/workflows/haven-notify.yaml @@ -16,8 +16,38 @@ env: jobs: build_haven_notify: + name: Build Haven Notify Image (arm64) runs-on: ubuntu-arm64 + steps: + - name: Check out repository + uses: actions/checkout@v2 + + - name: Log in to Container Registry + run: | + apt-get update && apt-get install -y docker + 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 \ + haven-notify + + docker push "${{ env.IMAGE_NOTIFY }}:${TAG}" + + build_haven_notify_amd64: + name: Build Haven Notify Image (amd64) + runs-on: ubuntu-latest + steps: - name: Check out repository uses: actions/checkout@v2 @@ -43,6 +73,7 @@ jobs: docker push "${{ env.IMAGE_NOTIFY }}:${TAG}" deploy_haven_notify: + name: Deploy Haven Notify runs-on: ubuntu-arm64 needs: build_haven_notify steps: