|
|
@ -9,7 +9,7 @@ on:
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
test:
|
|
|
|
name: Test Build
|
|
|
|
name: Test Build
|
|
|
|
if: "!contains(github.event.head_commit.message, '[skip ci:docker]')"
|
|
|
|
if: contains(github.event.head_commit.message, '[docker build]')
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container: node:20-alpine
|
|
|
|
container: node:20-alpine
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
@ -28,7 +28,7 @@ jobs:
|
|
|
|
build_and_push:
|
|
|
|
build_and_push:
|
|
|
|
name: Build & Publish Docker Images
|
|
|
|
name: Build & Publish Docker Images
|
|
|
|
needs: test
|
|
|
|
needs: test
|
|
|
|
if: ${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev/0.15.0') && !contains(github.event.head_commit.message, '[skip ci:docker]') }}
|
|
|
|
if: ${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev/0.15.0') && contains(github.event.head_commit.message, '[docker build]') }}
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
- name: Checkout
|
|
|
@ -57,7 +57,7 @@ jobs:
|
|
|
|
discord:
|
|
|
|
discord:
|
|
|
|
name: Send Discord Notification
|
|
|
|
name: Send Discord Notification
|
|
|
|
needs: build_and_push
|
|
|
|
needs: build_and_push
|
|
|
|
if: always() && github.event_name != 'pull_request' && !contains(github.event.head_commit.message, '[skip ci:docker]')
|
|
|
|
if: always() && github.event_name != 'pull_request' && contains(github.event.head_commit.message, '[docker build]')
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Get Build Job Status
|
|
|
|
- name: Get Build Job Status
|
|
|
|