Skip to content

Commit 597718d

Browse files
committed
Initial commit
0 parents  commit 597718d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+10736
-0
lines changed

.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
target

.github/workflows/release.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
docker:
8+
runs-on: ubuntu-latest
9+
env:
10+
REGISTRY: ghcr.io
11+
IMAGE_NAME: perfbot
12+
steps:
13+
- name: Checkout sources
14+
uses: actions/checkout@v2
15+
- name: Log in to the Container registry
16+
uses: docker/login-action@v1
17+
with:
18+
registry: ${{ env.REGISTRY }}
19+
username: ${{ github.actor }}
20+
password: ${{ secrets.GITHUB_TOKEN }}
21+
- name: Extract metadata (tags, labels) for Docker
22+
id: meta
23+
uses: docker/metadata-action@v3
24+
with:
25+
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
26+
- name: Build and push Docker image
27+
uses: docker/build-push-action@v2
28+
with:
29+
push: true
30+
tags: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:${{ github.sha }},${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:latest
31+
labels: ${{ steps.meta.outputs.labels }}

.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Generated by Cargo
2+
# will have compiled files and executables
3+
/target
4+
.DS_Store
5+
6+
# These are backup files generated by rustfmt
7+
**/*.rs.bk
8+
9+
.env

.idea/.gitignore

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/perfbot.iml

+16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.vscode/settings.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"rust-analyzer.cargo.target": null,
3+
"rust-analyzer.cargo.loadOutDirsFromCheck": true,
4+
// "rust-analyzer.procMacro.enable": true
5+
}

0 commit comments

Comments
 (0)