fp/.gitea/workflows/builder.yaml

32 lines
910 B
YAML

name: ci
on:
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Check out code
# idk if I need this. is it automatically gathered from the act runner?
# with:
# repository: https://gitea.futureporn.net/futureporn/fp
- uses: mr-smithers-excellent/docker-build-push@v6
name: Build & push fp/next Docker image
with:
image: gitea.futureporn.net/futureporn/next
tags: latest
# which 'registry:' version do I need?
registry: https://gitea.futureporn.net
# registry: https://gitea.futureporn.net/futureporn
dockerfile: packages/next/Dockerfile
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
# docker push gitea.futureporn.net/cj_clippy/link2cid:latest