chore(ci): migrate to github
This commit is contained in:
parent
cb873908b9
commit
9ac9f68b52
2 changed files with 14 additions and 24 deletions
14
.github/workflows/build.yml
vendored
Normal file
14
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
name: CI
|
||||
on:
|
||||
release:
|
||||
types: [ published ]
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
push: true
|
||||
tags: user/app:latest
|
|
@ -1,24 +0,0 @@
|
|||
include:
|
||||
- project: 'famedly/infra/templates/ci-cd'
|
||||
ref: 'rust-v1'
|
||||
file: '/rust.yml'
|
||||
- project: 'famedly/infra/templates/ci-cd'
|
||||
ref: 'docker-v1'
|
||||
file: '/docker.yml'
|
||||
|
||||
stages:
|
||||
- test
|
||||
- build
|
||||
- deploy
|
||||
|
||||
cargo-check:
|
||||
extends: .cargo_check
|
||||
|
||||
cargo-build:
|
||||
extends: .cargo_build
|
||||
|
||||
docker_releases:
|
||||
extends: .docker_releases
|
||||
|
||||
docker_tags:
|
||||
extends: .docker_tags
|
Loading…
Add table
Reference in a new issue