hopefully make autobuild possible
This commit is contained in:
parent
a87eaf4866
commit
032a450455
3 changed files with 76 additions and 0 deletions
22
.forgejo/workflows/build.yml
Normal file
22
.forgejo/workflows/build.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
name: backend
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ fg-actions ]
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: docker
|
||||
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: login
|
||||
run: echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USER" --password-stdin
|
||||
|
||||
- name: build
|
||||
run: docker build -t $DOCKER_USER/splatnet-backend:latest .
|
||||
|
||||
- name: push
|
||||
run: docker push $DOCKER_USER/splatnet-backend:latest
|
||||
Loading…
Reference in a new issue