-
Notifications
You must be signed in to change notification settings - Fork 44
35 lines (30 loc) · 1.06 KB
/
image_addtag_beta.yaml
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
on:
workflow_dispatch:
inputs:
name:
description: 'GCR image microservice name like gintaa-user'
required: true
default: 'gintaa-user'
name: GCR Image Add Tag - beta
env:
PROJECT_ID: ${{ secrets.GCP_PROJECT_POC }}
jobs:
build:
name: GCR Image Add Tag
runs-on: ubuntu-latest
steps:
# - name: Get file service-template
# run: |-
# export SERVICE_TEMPLATE="$(curl -H 'Authorization: token ${{ secrets.TEST_GITHUB_TOKEN }}' \
# -H 'Accept: application/vnd.github.v4.raw' \
# -L https://api.github.com/repos/asconsoft/gintaa-otp/charts/gintaa-otp/Chart.yaml)"
# echo $SERVICE_TEMPLATE
- name: get file
env:
TOKEN: ${{ secrets.TEST_GITHUB_TOKEN }}
run: |
export SERVICE_TEMPLATE="$(curl -H "Authorization: token ${TOKEN}" https://raw.githubusercontent.com/asconsoft/gintaa-otp/main/charts/gintaa-otp/Chart.yaml)"
- name: print
run: |
echo 123
echo $SERVICE_TEMPLATE