CI complete webhook
Deploy / Deploy (push) Successful in 1m13s
Details
Deploy / Deploy (push) Successful in 1m13s
Details
This commit is contained in:
parent
d9937cbde1
commit
f266282261
|
@ -7,6 +7,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Docker install
|
- name: Docker install
|
||||||
run: |
|
run: |
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
@ -21,21 +22,34 @@ jobs:
|
||||||
tee /etc/apt/sources.list.d/docker.list > /dev/null
|
tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -yqq docker-ce docker-ce-cli containerd.io
|
apt-get install -yqq docker-ce docker-ce-cli containerd.io
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Docker Login
|
- name: Docker Login
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: git.riksolo.com
|
registry: git.riksolo.com
|
||||||
username: riksolo
|
username: riksolo
|
||||||
password: ${{secrets.CONTAINER_REGISTRY_TOKEN}}
|
password: ${{secrets.CONTAINER_REGISTRY_TOKEN}}
|
||||||
|
|
||||||
- name: Set up node
|
- name: Set up node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20.x'
|
node-version: '20.x'
|
||||||
|
|
||||||
- run: npm i
|
- run: npm i
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: git.riksolo.com/riksolo/multi-scrobbler-now-playing:latest , git.riksolo.com/riksolo/multi-scrobbler-now-playing:${{github.sha}}
|
tags: git.riksolo.com/riksolo/multi-scrobbler-now-playing:latest , git.riksolo.com/riksolo/multi-scrobbler-now-playing:${{github.sha}}
|
||||||
|
|
||||||
|
- name: Completion webhook
|
||||||
|
if: ${{always()}}
|
||||||
|
continue-on-error: true
|
||||||
|
uses: fjogeleit/http-request-action@v1
|
||||||
|
with:
|
||||||
|
url: ${{secrets.NODE_RED_WORKFLOW_COMPLETE_URL}}
|
||||||
|
data: '{"job": ${{toJSON(job)}}, "gitea": ${{toJSON(gitea)}}}'
|
||||||
|
|
Loading…
Reference in New Issue