Files
cavepediav2/.gitea/workflows/build-push.yaml
Paul Walko 3fd02e6f75
Some checks failed
Build and Push Docker Image / build (push) Failing after 5m56s
fix org name
2025-12-11 22:58:37 +01:00

33 lines
762 B
YAML

name: Build and Push Docker Image
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: git.seaturtle.pw
username: ${{ gitea.actor }}
password: ${{ secrets.ACTIONS_PUSH_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
context: ./web
push: true
tags: git.seaturtle.pw/cavepedia/cavepediav2-web:latest
cache-from: type=gha
cache-to: type=gha,mode=max