Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
758fa7608f | |||
ee6b947f29 | |||
18dd1ef528 | |||
8fa7866cc2 | |||
238ad87119 | |||
d584e21fd9 | |||
ac79a2e0b7 | |||
1798c1270b | |||
97d1019b69 | |||
e30ceb75d9 |
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@@ -20,6 +20,8 @@ jobs:
|
||||
detect-project:
|
||||
name: Detect Rust Project
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
outputs:
|
||||
project-dir: ${{ steps.detect.outputs.project-dir }}
|
||||
project-name: ${{ steps.detect.outputs.project-name }}
|
||||
@@ -56,6 +58,8 @@ jobs:
|
||||
needs: [detect-project]
|
||||
if: ${{ !failure() && !cancelled() }}
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -79,6 +83,8 @@ jobs:
|
||||
set-tag:
|
||||
name: Set Tag Name
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
outputs:
|
||||
tag_name: ${{ steps.set_tag.outputs.tag_name }}
|
||||
steps:
|
||||
@@ -139,6 +145,8 @@ jobs:
|
||||
needs: [detect-project, test]
|
||||
if: ${{ !failure() && !cancelled() }}
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
@@ -198,6 +206,8 @@ jobs:
|
||||
needs.build.result == 'success' &&
|
||||
github.event_name != 'pull_request'
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
environment: production
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -237,6 +247,8 @@ jobs:
|
||||
github.event_name == 'push' &&
|
||||
needs.docker-build.result == 'success'
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
@@ -257,7 +269,7 @@ jobs:
|
||||
|
||||
summary:
|
||||
name: Workflow Summary
|
||||
needs: [test, audit, build, docker-build]
|
||||
needs: [test, build, docker-build]
|
||||
if: always()
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
@@ -56,7 +56,7 @@ pub async fn get_available_container(docker: &Docker) -> Vec<DockerContainer> {
|
||||
})
|
||||
.unwrap_or_else(|| "unknown".to_string());
|
||||
|
||||
println!(" - ID: {}, Image: {:?}, Name: {}", short_id, container.image, name);
|
||||
println!(" - ID: {}, Image: {}, Name: {}", short_id, container.image.unwrap(), name);
|
||||
|
||||
Some(DockerContainer {
|
||||
ID: short_id.to_string(),
|
||||
|
Reference in New Issue
Block a user