NavigateX/.gitea/workflows/build.yaml

27 lines
608 B
YAML

name: build
on:
push:
branches:
- 'main'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v3
-
name: Login to Registry
uses: https://github.com/docker/login-action@v3
with:
registry: git.nexy.cat
username: ${{ github.actor }}
password: ${{ github.token }}
-
name: Build and push
uses: https://github.com/docker/build-push-action@v5
with:
push: true
tags: nexy/navigatex:latest