Fix github actions
This commit is contained in:
parent
e58a9d2f9b
commit
7a113f4c6d
1 changed files with 26 additions and 13 deletions
19
.github/workflows/deploy.yml
vendored
19
.github/workflows/deploy.yml
vendored
|
|
@ -1,10 +1,23 @@
|
|||
- name: Login to Yandex Cloud Container Registry
|
||||
name: Push To Yandex Cloud CR
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Login to Yandex Cloud Container Registry
|
||||
id: login-cr
|
||||
uses: yc-actions/yc-cr-login@v2
|
||||
uses: yc-actions/yc-cr-login@v1
|
||||
with:
|
||||
yc-sa-json-credentials: ${{ secrets.YC_SA_JSON_CREDENTIALS }}
|
||||
|
||||
- name: Build, tag, and push image to Yandex Cloud Container Registry
|
||||
- name: Build, tag, and push image to Yandex Cloud Container Registry
|
||||
env:
|
||||
CR_REGISTRY: crp1s2dst54hvi8588to
|
||||
CR_REPOSITORY: mtg-price-bot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue