Skip to content

Commit

Permalink
Theoretically configure docker releases for pushd
Browse files Browse the repository at this point in the history
Signed-off-by: IAmTomahawkx <[email protected]>
  • Loading branch information
IAmTomahawkx committed Nov 25, 2024
1 parent 0643a38 commit 70274bf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
if: github.event_name != 'pull_request'
strategy:
matrix:
project: [delta, bonfire, autumn, january]
project: [delta, bonfire, autumn, january, pushd]
name: Build ${{ matrix.project }} image
steps:
# Configure build environment
Expand Down Expand Up @@ -106,6 +106,10 @@ jobs:
"january": {
"path": "crates/services/january",
"tag": "${{ github.repository_owner }}/january"
},
"pushd": {
"path": "crates/daemons/pushd",
"tag": "${{ github.repository_owner }}/pushd"
}
}
export_to: output
Expand Down
9 changes: 9 additions & 0 deletions crates/daemons/pushd/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Build Stage
FROM ghcr.io/revoltchat/base:latest AS builder

# Bundle Stage
FROM gcr.io/distroless/cc-debian12:nonroot
COPY --from=builder /home/rust/src/target/release/revolt-pushd ./

USER nonroot
CMD ["./revolt-pushd"]

0 comments on commit 70274bf

Please sign in to comment.