добавлен пайплайн
parent
30f1598139
commit
10f84c3a55
|
@ -0,0 +1,35 @@
|
||||||
|
name: Create archive
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'dev'
|
||||||
|
|
||||||
|
env:
|
||||||
|
REPOSITORY: ${{ gitea.repository }}
|
||||||
|
BUILD_NUMBER: ${{ gitea.run_number }}
|
||||||
|
REPO_AUTH_LOGIN: ${{ secrets.REPO_AUTH_LOGIN }}
|
||||||
|
REPO_AUTH_TOKEN: ${{ secrets.REPO_AUTH_TOKEN }}
|
||||||
|
BRANCH: ${{ gitea.ref_name }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish_image:
|
||||||
|
name: Publish image
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
container:
|
||||||
|
image: gitea.kdiva.ru/infrastructure/archiver
|
||||||
|
credentials:
|
||||||
|
username: ${{ env.REPO_AUTH_LOGIN }}
|
||||||
|
password: ${{ env.REPO_AUTH_TOKEN }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout ${{env.REPOSITORY}}
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
repository: ${{env.REPOSITORY}}
|
||||||
|
github-server-url: https://gitea.kdiva.ru
|
||||||
|
|
||||||
|
- name: Create archive
|
||||||
|
run: |
|
||||||
|
zip -r -9 ${{env.REPOSITORY}}-${{env.BRANCH}}-${{env.BUILD_NUMBER}}.zip ./src/
|
|
@ -1 +1 @@
|
||||||
Subproject commit b1524b6710ab92045769dc50d63a85eb576197f8
|
Subproject commit 153edfd6d4c91aa957c0b14171f5c676aa4cd58a
|
Loading…
Reference in New Issue