Some checks failed
CI / lint-and-test (push) Has been cancelled
- Move CI workflow from .github/workflows/ to .gitea/workflows/ - Add Gitea Actions release workflow for tag builds - Remove GitHub-specific release workflow
21 lines
364 B
YAML
21 lines
364 B
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build Docker image
|
|
run: docker build ./backend --tag aoc-backend:${{ gitea.ref_name }}
|
|
|
|
- name: Verify image exists
|
|
run: docker images | grep aoc-backend
|