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
|
|
|
|
|
2024-06-15 18:25:19 +00:00
|
|
|
|
2024-07-15 05:05:01 +00:00
|
|
|
- uses: mr-smithers-excellent/docker-build-push@v6
|
2024-07-16 04:32:32 +00:00
|
|
|
name: Build futureporn/scout
|
2024-07-15 05:05:01 +00:00
|
|
|
with:
|
|
|
|
image: futureporn/scout
|
|
|
|
tags: latest
|
2024-07-16 04:32:32 +00:00
|
|
|
target: scout
|
2024-07-15 05:05:01 +00:00
|
|
|
registry: gitea.futureporn.net
|
|
|
|
dockerfile: d.scout.dockerfile
|
|
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
2024-06-15 18:25:19 +00:00
|
|
|
|
2024-06-15 03:18:00 +00:00
|
|
|
- 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
|
2024-06-15 18:11:04 +00:00
|
|
|
dockerfile: d.strapi.dockerfile
|
2024-03-29 07:28:02 +00:00
|
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
2024-07-15 05:03:37 +00:00
|
|
|
|
|
|
|
- uses: mr-smithers-excellent/docker-build-push@v6
|
|
|
|
name: Build futureporn/worker
|
|
|
|
with:
|
|
|
|
image: futureporn/worker
|
|
|
|
tags: latest
|
|
|
|
registry: gitea.futureporn.net
|
|
|
|
dockerfile: d.worker.dockerfile
|
|
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|