66 lines
1.9 KiB
YAML
66 lines
1.9 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/migrations
|
|
with:
|
|
image: futureporn/migrations
|
|
tags: latest
|
|
registry: gitea.futureporn.net
|
|
dockerfile: d.migrations.dockerfile
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
|
|
- uses: mr-smithers-excellent/docker-build-push@v6
|
|
name: Build futureporn/bot
|
|
with:
|
|
image: futureporn/bot
|
|
tags: latest
|
|
registry: gitea.futureporn.net
|
|
dockerfile: d.bot.dockerfile
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
|
|
|
|
- uses: mr-smithers-excellent/docker-build-push@v6
|
|
name: Build futureporn/capture
|
|
with:
|
|
image: futureporn/capture
|
|
tags: latest
|
|
registry: gitea.futureporn.net
|
|
dockerfile: d.capture.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 }}
|