update ci #2

Merged
vlad.os merged 2 commits from main into release 2026-06-08 15:34:38 +00:00

View File

@@ -1,10 +1,12 @@
name: Build & Deploy
on:
push:
branches: [release]
branches:
- main
- release
jobs:
deploy:
build:
runs-on: [ ubuntu-22.04 ]
steps:
- uses: actions/checkout@v4
@@ -12,6 +14,13 @@ jobs:
- name: Build Docker image
run: docker build -t barotrauma-server:${{ github.sha }} .
deploy:
if: github.ref_name == 'release'
runs-on: [ ubuntu-22.04 ]
needs: build
steps:
- uses: actions/checkout@v4
- name: Tag and push to local registry
run: |
docker tag barotrauma-server:${{ github.sha }} \