-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 907 Bytes
/
push_main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Main Branch Deploy
on:
push:
branches:
- main
permissions:
pull-requests: write
contents: write
jobs:
docker_push:
name: "Push docker image"
uses: "philipcristiano/workflows/.github/workflows/docker-build-push.yml@main"
needs: [flake, rust]
with:
repository: ${{ github.repository }}
timeout: 25
secrets:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
rust:
uses: "philipcristiano/workflows/.github/workflows/rust.yml@main"
release-please:
needs: [flake, rust]
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.REPO_TOKEN }}
release-type: rust
flake:
uses: "philipcristiano/workflows/.github/workflows/nix.yml@main"
with:
script: |
cargo build