mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-06 13:57:54 +00:00
docker images?
This commit is contained in:
parent
77444bff2e
commit
323377c217
3 changed files with 43 additions and 21 deletions
20
.github/workflows/dotnet-docker.yml
vendored
20
.github/workflows/dotnet-docker.yml
vendored
|
|
@ -1,23 +1,23 @@
|
|||
name: Build and push Docker image
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
paths:
|
||||
- '.dockerignore'
|
||||
- '.github/workflows/dotnet-docker.yml'
|
||||
- 'ci/Dockerfile.dotnet'
|
||||
- 'ci/dotnet-version.sh'
|
||||
- 'Myriad/**'
|
||||
- 'PluralKit.API/**'
|
||||
- 'PluralKit.Bot/**'
|
||||
- 'PluralKit.Core/**'
|
||||
- ".dockerignore"
|
||||
- ".github/workflows/dotnet-docker.yml"
|
||||
- "ci/Dockerfile.dotnet"
|
||||
- "ci/dotnet-version.sh"
|
||||
- "Myriad/**"
|
||||
- "PluralKit.API/**"
|
||||
- "PluralKit.Bot/**"
|
||||
- "PluralKit.Core/**"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: '.net docker build'
|
||||
name: ".net docker build"
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
packages: write
|
||||
if: github.repository == 'PluralKit/PluralKit'
|
||||
steps:
|
||||
- uses: docker/login-action@v1
|
||||
with:
|
||||
|
|
|
|||
20
.github/workflows/rust-docker.yml
vendored
20
.github/workflows/rust-docker.yml
vendored
|
|
@ -1,22 +1,22 @@
|
|||
name: Build and push Rust service Docker images
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
paths:
|
||||
- 'crates/**'
|
||||
- '.dockerignore'
|
||||
- '.github/workflows/rust.yml'
|
||||
- 'ci/Dockerfile.rust'
|
||||
- 'ci/rust-docker-target.sh'
|
||||
- 'Cargo.toml'
|
||||
- 'Cargo.lock'
|
||||
- "crates/**"
|
||||
- ".dockerignore"
|
||||
- ".github/workflows/rust.yml"
|
||||
- "ci/Dockerfile.rust"
|
||||
- "ci/rust-docker-target.sh"
|
||||
- "Cargo.toml"
|
||||
- "Cargo.lock"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: 'rust docker build'
|
||||
name: "rust docker build"
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
packages: write
|
||||
if: github.repository == 'PluralKit/PluralKit'
|
||||
steps:
|
||||
- uses: docker/login-action@v1
|
||||
if: ${{ !env.ACT }}
|
||||
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
# https://github.com/docker/build-push-action/issues/378
|
||||
context: .
|
||||
file: ci/Dockerfile.rust
|
||||
push: false
|
||||
push: false
|
||||
cache-from: type=registry,ref=ghcr.io/pluralkit/docker-cache:rust
|
||||
cache-to: type=registry,ref=ghcr.io/pluralkit/docker-cache:rust,mode=max
|
||||
outputs: .docker-bin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue