-
Notifications
You must be signed in to change notification settings - Fork 0
/
bitrise.yml
38 lines (37 loc) · 1.04 KB
/
bitrise.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
---
format_version: '6'
default_step_lib_source: 'https://github.com/bitrise-io/bitrise-steplib.git'
meta:
bitrise.io:
stack: linux-docker-android-20.04
trigger_map:
- push_branch: '*'
workflow: main
workflows:
main:
steps:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- [email protected]: {}
- [email protected]: {}
title: Build and Publish
inputs:
- content: |
#!/usr/bin/env bash
set -e
IMAGE_NAME="reinstall"
docker build -t $IMAGE_NAME .
./ci/push-image.sh ${IMAGE_NAME} latest
title: Deploy
inputs:
- content: |
#!/usr/bin/env bash
set -e
IMAGE_NAME="reinstall"
./ci/write-secrets-from-env.sh
./ci/deploy.sh ${IMAGE_NAME} latest
inputs:
- cache_paths: "./node_modules"