tangled
alpha
login
or
join now
alpine.girlfag.club
/
refbot
0
fork
atom
SpinShare Referee Bot
refbot.ellite.dev/overlay
0
fork
atom
overview
issues
13
pulls
pipelines
remove .github directory
alpinesystem
3 weeks ago
142d226e
12c58f9c
-40
1 changed file
expand all
collapse all
unified
split
.github
workflows
buildnpushdocker.yml
-40
.github/workflows/buildnpushdocker.yml
···
1
1
-
name: Build & Push Docker Image
2
2
-
3
3
-
on:
4
4
-
push:
5
5
-
branches:
6
6
-
- main
7
7
-
paths-ignore:
8
8
-
- '**.md'
9
9
-
10
10
-
jobs:
11
11
-
build:
12
12
-
runs-on: ubuntu-latest
13
13
-
14
14
-
steps:
15
15
-
- name: Checkout
16
16
-
uses: actions/checkout@v4
17
17
-
18
18
-
- name: Get version from package.json
19
19
-
id: version
20
20
-
run: echo "VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT
21
21
-
22
22
-
- name: Log in to registry
23
23
-
uses: docker/login-action@v3
24
24
-
with:
25
25
-
registry: registry.ellite.dev
26
26
-
username: refbot
27
27
-
password: ${{ secrets.REGISTRY_PASSWORD }}
28
28
-
29
29
-
- name: Build and push
30
30
-
uses: docker/build-push-action@v5
31
31
-
with:
32
32
-
context: .
33
33
-
push: true
34
34
-
tags: |
35
35
-
registry.ellite.dev/alpinesystem/refbot:latest
36
36
-
registry.ellite.dev/alpinesystem/refbot:v${{ steps.version.outputs.VERSION }}
37
37
-
38
38
-
- name: Trigger Portainer redeploy
39
39
-
run: |
40
40
-
curl -X POST https://portainer.ellite.dev/api/stacks/webhooks/729bf24e-a305-4eaf-8efc-de31043519bb