forked from jmug/stoatchat
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
35cfb9a489 | ||
|
|
7297a64856 |
18
.github/workflows/docker.yaml
vendored
18
.github/workflows/docker.yaml
vendored
@@ -34,7 +34,7 @@ jobs:
|
||||
echo "owner=$(echo "$GITHUB_REPOSITORY_OWNER" | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_OUTPUT"
|
||||
- name: Base image ref
|
||||
id: base
|
||||
run: echo "image=${{ steps.registry.outputs.host }}/${{ steps.registry.outputs.owner }}/handmade-revolt-base" >> "$GITHUB_OUTPUT"
|
||||
run: echo "image=${{ steps.registry.outputs.host }}/${{ steps.registry.outputs.owner }}/handmade-revolt-backend-base" >> "$GITHUB_OUTPUT"
|
||||
- name: Login to registry
|
||||
uses: docker/login-action@v3
|
||||
if: github.event_name == 'release'
|
||||
@@ -62,15 +62,13 @@ jobs:
|
||||
if: github.event_name == 'release'
|
||||
strategy:
|
||||
matrix:
|
||||
# Only pushd is built. To add more services later, add
|
||||
# entries here (paths/images mirror the upstream revolt layout):
|
||||
# - { project: delta, path: crates/delta, image: handmade-revolt-server }
|
||||
# - { project: bonfire, path: crates/bonfire, image: handmade-revolt-bonfire }
|
||||
# - { project: autumn, path: crates/services/autumn, image: handmade-revolt-autumn }
|
||||
# - { project: january, path: crates/services/january, image: handmade-revolt-january }
|
||||
# - { project: crond, path: crates/daemons/crond, image: handmade-revolt-crond }
|
||||
include:
|
||||
- { project: pushd, path: crates/daemons/pushd, image: handmade-revolt-pushd }
|
||||
- { project: pushd, path: crates/daemons/pushd, image: handmade-revolt-backend-pushd }
|
||||
- { project: delta, path: crates/delta, image: handmade-revolt-backend-server }
|
||||
- { project: bonfire, path: crates/bonfire, image: handmade-revolt-backend-bonfire }
|
||||
- { project: autumn, path: crates/services/autumn, image: handmade-revolt-backend-autumn }
|
||||
- { project: january, path: crates/services/january, image: handmade-revolt-backend-january }
|
||||
- { project: crond, path: crates/daemons/crond, image: handmade-revolt-backend-crond }
|
||||
name: Build ${{ matrix.project }} image
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -109,7 +107,7 @@ jobs:
|
||||
push: true
|
||||
platforms: linux/amd64
|
||||
build-args: |
|
||||
BASE_IMAGE=${{ steps.registry.outputs.host }}/${{ steps.registry.outputs.owner }}/handmade-revolt-base:${{ github.sha }}
|
||||
BASE_IMAGE=${{ steps.registry.outputs.host }}/${{ steps.registry.outputs.owner }}/handmade-revolt-backend-base:${{ github.sha }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
annotations: ${{ steps.meta.outputs.annotations }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
Reference in New Issue
Block a user