40 lines
1.2 KiB
YAML
40 lines
1.2 KiB
YAML
name: Build OCI Images
|
|
on:
|
|
push:
|
|
branches: [devel]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Docker Buildx
|
|
uses: https://code.forgejo.org/docker/setup-buildx-action@v3
|
|
with:
|
|
driver: remote
|
|
endpoint: tcp://docker:2375
|
|
- name: Login to Docker Registry
|
|
uses: https://code.forgejo.org/docker/login-action@v3
|
|
with:
|
|
registry: git.thornbush.dev
|
|
username: ${{github.actor}}
|
|
password: ${{secrets.OAUTH_TOKEN}}
|
|
- name: build dispatch
|
|
uses: https://code.forgejo.org/docker/build-push-action@v6
|
|
with:
|
|
context: .
|
|
file: ./apps/dispatch/Dockerfile
|
|
push: true
|
|
tags: git.thornbush.dev/rose/datamine/dispatch:devel
|
|
- name: build ingest
|
|
uses: https://code.forgejo.org/docker/build-push-action@v6
|
|
with:
|
|
context: .
|
|
file: ./apps/ingest/Dockerfile
|
|
push: true
|
|
tags: git.thornbush.dev/rose/datamine/ingest:devel
|
|
- name: build dispatch
|
|
uses: https://code.forgejo.org/docker/build-push-action@v6
|
|
with:
|
|
context: .
|
|
file: ./apps/bot/Dockerfile
|
|
push: true
|
|
tags: git.thornbush.dev/rose/datamine/bot:devel
|