Skip to content

Commit

Permalink
Build nesachain
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg Smirnov committed Apr 30, 2024
1 parent f2aa155 commit 00ced2f
Showing 1 changed file with 27 additions and 14 deletions.
41 changes: 27 additions & 14 deletions .github/workflows/stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ env:
SHARED_REPO_NAME_SSH: [email protected]:nesaorg/devops-shared-library.git
SHARED_REPO_BRANCH: main

REPO_NESACHAIN_NAME: nesaorg/nesachain
REPO_NESACHAIN_BRANCH: main
REPO_NESACHAIN_DIR: nesachain

GITHUB_TOKEN: ${{ secrets.READ_GITHUB_TOKEN }}

GCP_PROJECT_ID: "phonic-scheme-417316"
Expand Down Expand Up @@ -37,21 +41,30 @@ jobs:
shell: bash

steps:
- uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
android: true
dotnet: true
haskell: true
large-packages: true
swap-storage: true
# - uses: jlumbroso/free-disk-space@main
# with:
# tool-cache: true
# android: true
# dotnet: true
# haskell: true
# large-packages: true
# swap-storage: true
- uses: actions/checkout@v4
with:
ref: ${{ env.BRANCH_TO_BUILD_BY_DISPATCH }}
- name: Clone NesaChain repo
uses: actions/checkout@v4
with:
repository: ${{ env.REPO_NESACHAIN_NAME }}
ref: ${{ env.REPO_NESACHAIN_BRANCH }}
token: ${{ env.GITHUB_TOKEN }}
path: ./${{ env.REPO_NESACHAIN_DIR }}
- run: ls -lA
- run: ls -lA ./${{ env.REPO_NESACHAIN_DIR }}
- uses: ./.github/actions/get_terraform_shared_library_aws
- uses: ./shared/actions/all/gitCommitHash
- uses: ./shared/actions/all/gcpAuth
- uses: ./shared/actions/all/gcpAuthDocker
- uses: ./shared/actions/all/dockerBuildPush
env:
IMAGE_NAME: ${{ env.PROJECT }}-${{ env.APPLICATION }}
# - uses: ./shared/actions/all/gitCommitHash
# - uses: ./shared/actions/all/gcpAuth
# - uses: ./shared/actions/all/gcpAuthDocker
# - uses: ./shared/actions/all/dockerBuildPush
# env:
# IMAGE_NAME: ${{ env.PROJECT }}-${{ env.APPLICATION }}

0 comments on commit 00ced2f

Please sign in to comment.