💚 working ci builds for docker images
All checks were successful
Build OCI Images / build (push) Successful in 3m7s
All checks were successful
Build OCI Images / build (push) Successful in 3m7s
This commit is contained in:
parent
db6f534f77
commit
0e14cca2eb
1 changed files with 13 additions and 32 deletions
|
|
@ -4,55 +4,36 @@ on:
|
||||||
branches: [devel]
|
branches: [devel]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: ubuntu-latest
|
||||||
container:
|
|
||||||
image: node:21-alpine
|
|
||||||
steps:
|
steps:
|
||||||
- name: setup node
|
- name: Checkout
|
||||||
run: |
|
uses: actions/checkout@v4
|
||||||
apk add --no-cache libc6-compat
|
|
||||||
apk update
|
|
||||||
yarn set version canary
|
|
||||||
yarn config set nodeLinker node-modules
|
|
||||||
- name: checkout
|
|
||||||
uses: https://code.forgejo.org/actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 2
|
|
||||||
- name: cache turbo build
|
|
||||||
uses: https://code.forgejo.org/actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: .turbo
|
|
||||||
key: ${{ runner.os }}-turbo-${{ github.sha }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-turbo-
|
|
||||||
${{ runner.os }}-
|
|
||||||
- name: yarn install
|
|
||||||
run: yarn install
|
|
||||||
- name: Docker QEMU
|
|
||||||
uses: https://code.forgejo.org/docker/setup-qemu-action@v3
|
|
||||||
- name: Docker Buildx
|
- name: Docker Buildx
|
||||||
uses: https://code.forgejo.org/docker/setup-buildx-action@v3
|
uses: https://code.forgejo.org/docker/setup-buildx-action@v3
|
||||||
- name: Login to Docker Registry
|
- name: Login to Docker Registry
|
||||||
uses: https://code.forgejo.org/docker/login-action@v3
|
uses: https://code.forgejo.org/docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: git.thornbush.dev
|
registry: git.thornbush.dev
|
||||||
user: ${{github.actor}}
|
username: ${{github.actor}}
|
||||||
password: ${{secrets.OAUTH_TOKEN}}
|
password: ${{secrets.OAUTH_TOKEN}}
|
||||||
- name: build dispatch
|
- name: build dispatch
|
||||||
uses: https://code.forgejo.org/docker/build-push-action@v6
|
uses: https://code.forgejo.org/docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: ./apps/dispatch
|
context: .
|
||||||
|
file: ./apps/dispatch/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: ${{github.server_url}}/rose/datamine/dispatch:devel
|
tags: git.thornbush.dev/rose/datamine/dispatch:devel
|
||||||
- name: build ingest
|
- name: build ingest
|
||||||
uses: https://code.forgejo.org/docker/build-push-action@v6
|
uses: https://code.forgejo.org/docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: ./apps/ingest
|
context: .
|
||||||
|
file: ./apps/ingest/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: ${{github.server_url}}/rose/datamine/ingest:devel
|
tags: git.thornbush.dev/rose/datamine/ingest:devel
|
||||||
- name: build dispatch
|
- name: build dispatch
|
||||||
uses: https://code.forgejo.org/docker/build-push-action@v6
|
uses: https://code.forgejo.org/docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: ./apps/bot
|
context: .
|
||||||
|
file: ./apps/bot/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: ${{github.server_url}}/rose/datamine/bot:devel
|
tags: git.thornbush.dev/rose/datamine/bot:devel
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue