fp/.gitea/workflows/builder.yaml

33 lines
893 B
YAML
Raw Normal View History

2024-03-29 07:28:02 +00:00
name: ci
on:
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
2024-03-29 08:03:12 +00:00
environment: docker
2024-03-29 07:28:02 +00:00
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
2024-03-29 07:45:51 +00:00
name: Build & push next Docker image
2024-03-29 07:28:02 +00:00
with:
2024-03-29 07:45:51 +00:00
image: futureporn/next
2024-03-29 07:28:02 +00:00
tags: latest
# which 'registry:' version do I need?
2024-03-29 08:54:11 +00:00
registry: gitea.futureporn.net
2024-03-29 07:28:02 +00:00
# registry: https://gitea.futureporn.net/futureporn
2024-03-29 10:30:04 +00:00
dockerfile: next.dockerfile
2024-03-29 07:28:02 +00:00
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
# docker push gitea.futureporn.net/cj_clippy/link2cid:latest