mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 22:37:54 +00:00
cache rust build dependencies in dockerfile
This commit is contained in:
parent
5440386969
commit
c6c5ae1496
9 changed files with 61 additions and 78 deletions
7
.github/workflows/api.yml
vendored
7
.github/workflows/api.yml
vendored
|
|
@ -1,3 +1,8 @@
|
|||
# todo: use https://github.com/jpribyl/action-docker-layer-caching
|
||||
# todo: make this generic for all Rust images in this repo
|
||||
# todo: don't use docker/build-push-action
|
||||
# todo: run builds on pull request
|
||||
|
||||
name: Build and push API Docker image
|
||||
on:
|
||||
push:
|
||||
|
|
@ -26,7 +31,7 @@ jobs:
|
|||
with:
|
||||
# https://github.com/docker/build-push-action/issues/378
|
||||
context: .
|
||||
file: services/api/Dockerfile
|
||||
file: Dockerfile.rust
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/pluralkit/api:${{ env.BRANCH_NAME }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue