32 lines
638 B
YAML
32 lines
638 B
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
paths:
|
|
- '.gitea/**'
|
|
- 'src/**'
|
|
- 'tests/**'
|
|
|
|
concurrency:
|
|
group: ci-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container: git.yourcmc.ru/vitalif/gitea-ci-dind
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Build
|
|
run: docker build -t git.yourcmc.ru/vitalif/gitea-ci-test/vitastor-buildenv -f src/buildenv.Dockerfile .
|
|
|
|
- name: Login
|
|
run: docker login git.yourcmc.ru -u vitalif -p "${{secrets.TOKEN}}"
|
|
|
|
- name: Push
|
|
run: docker push git.yourcmc.ru/vitalif/gitea-ci-test/vitastor-buildenv
|