fixing pipe lol
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 52s
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 52s
This commit is contained in:
@@ -16,8 +16,38 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_haven_notify:
|
build_haven_notify:
|
||||||
|
name: Build Haven Notify Image (arm64)
|
||||||
runs-on: ubuntu-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:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@@ -43,6 +73,7 @@ jobs:
|
|||||||
docker push "${{ env.IMAGE_NOTIFY }}:${TAG}"
|
docker push "${{ env.IMAGE_NOTIFY }}:${TAG}"
|
||||||
|
|
||||||
deploy_haven_notify:
|
deploy_haven_notify:
|
||||||
|
name: Deploy Haven Notify
|
||||||
runs-on: ubuntu-arm64
|
runs-on: ubuntu-arm64
|
||||||
needs: build_haven_notify
|
needs: build_haven_notify
|
||||||
steps:
|
steps:
|
||||||
|
Reference in New Issue
Block a user