Files
pile/.gitea/workflows/docker.yml
rm-dr 5a0a897461
Some checks failed
CI / Typos (push) Successful in 20s
Docker / build-and-push (push) Failing after 1m18s
CI / Build and test (push) Failing after 2m41s
CI / Clippy (push) Successful in 3m58s
CI / Build and test (all features) (push) Failing after 10m4s
Docker
2026-03-24 09:56:42 -07:00

31 lines
780 B
YAML

name: Docker
on:
push:
branches: [main]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Log in to Gitea container registry
uses: docker/login-action@v3
with:
registry: git.betalupi.com
username: ${{ gitea.actor }}
password: ${{ secrets.DEPLOY_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: git.betalupi.com/mark/pile:latest
cache-from: type=registry,ref=git.betalupi.com/mark/pile:cache
cache-to: type=registry,ref=git.betalupi.com/mark/pile:cache,mode=max