Files
workout/.gitea/workflows/ci.yml
Timo Boomers 52673a9aa5
Some checks failed
Cargo Build & Test / Push to container registry (push) Failing after 4s
changed tag
2025-07-18 10:41:08 +02:00

44 lines
1019 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: Extract metadata
id: meta
uses: docker/metadata-action
with:
images: gitea.xeovalyte.dev/xeovalyte/workout
- name: Build an publish
id: push
uses: docker/build-push-action
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}