Files
workout/.gitea/workflows/ci.yml
Timo Boomers d94b67e689
Some checks failed
Cargo Build & Test / Push to container registry (push) Has been cancelled
simplified metadata
2025-07-18 10:43:03 +02:00

37 lines
829 B
YAML

name: Cargo Build & Test
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
push:
name: Push to container registry
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: rustup update stable && rustup default stable
- name: Login in to the container registry
uses: docker/login-action@v3
with:
registry: gitea.xeovalyte.dev
username: ${{ gitea.actor }}
password: ${{ secrets.GITEA_TOKEN }}
- name: Build an publish
id: push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: gitea.xeovalyte.dev/xeovalyte/workout:latest