fp/.gitea/workflows/builder.yaml

68 lines
2.0 KiB
YAML

name: ci
on:
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
environment: docker
steps:
- uses: actions/checkout@v3
name: Check out code
# - uses: mr-smithers-excellent/docker-build-push@v6
# name: Build futureporn/scout-worker
# with:
# image: futureporn/scout-worker
# tags: latest
# target: worker
# registry: gitea.futureporn.net
# dockerfile: d.scout.dockerfile
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}
# - uses: mr-smithers-excellent/docker-build-push@v6
# name: Build futureporn/scout-manager
# with:
# image: futureporn/scout-manager
# tags: latest
# target: manager
# registry: gitea.futureporn.net
# dockerfile: d.scout.dockerfile
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}
# - uses: mr-smithers-excellent/docker-build-push@v6
# name: Build futureporn/link2cid
# with:
# image: futureporn/link2cid
# tags: latest
# registry: gitea.futureporn.net
# dockerfile: d.link2cid.dockerfile
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}
- uses: mr-smithers-excellent/docker-build-push@v6
name: Build futureporn/next
with:
image: futureporn/next
tags: latest
registry: gitea.futureporn.net
dockerfile: d.next.dockerfile
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: mr-smithers-excellent/docker-build-push@v6
name: Build futureporn/strapi
with:
image: futureporn/strapi
tags: latest
registry: gitea.futureporn.net
dockerfile: d.strapi.dockerfile
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}