Skip to content

Commit

Permalink
Update build_dev.yml
Browse files Browse the repository at this point in the history
uncomment dev-ci

Signed-off-by: Alexandr Okhrimenko <[email protected]>
  • Loading branch information
dxavx authored Dec 25, 2023
1 parent 61e1c7f commit e7762c5
Showing 1 changed file with 27 additions and 26 deletions.
53 changes: 27 additions & 26 deletions .github/workflows/build_dev.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
# on:
# pull_request:
on:
pull_request:

# jobs:
# dev_setup_build:
# runs-on: ubuntu-latest
# env:
# MODULES_REGISTRY: ${{ vars.DEV_REGISTRY }}
# CI_COMMIT_REF_NAME: ${{ github.ref_name }}
# MODULES_MODULE_NAME: ${{ vars.MODULE_NAME }}
# MODULES_MODULE_SOURCE: ${{ vars.DEV_MODULE_SOURCE }}
# MODULES_REGISTRY_LOGIN: ${{ secrets.DEV_MODULES_REGISTRY_LOGIN }}
# MODULES_REGISTRY_PASSWORD: ${{ secrets.DEV_MODULES_REGISTRY_PASSWORD }}
# name: Build and Push images
# steps:
# - run: |
# MODULES_MODULE_TAG="$(echo pr${{ github.ref_name }} | sed 's/\/.*//g')"
# echo "MODULES_MODULE_TAG=$MODULES_MODULE_TAG" >> "$GITHUB_ENV"
# echo $MODULES_REGISTRY
# echo $MODULES_MODULE_NAME
# echo $MODULES_MODULE_SOURCE
# echo $MODULES_MODULE_TAG
# shell: bash
# name: Show vars
jobs:
dev_setup_build:
runs-on: ubuntu-latest
env:
MODULES_REGISTRY: ${{ vars.DEV_REGISTRY }}
CI_COMMIT_REF_NAME: ${{ github.ref_name }}
MODULES_MODULE_NAME: ${{ vars.MODULE_NAME }}
MODULES_MODULE_SOURCE: ${{ vars.DEV_MODULE_SOURCE }}
MODULES_REGISTRY_LOGIN: ${{ secrets.DEV_MODULES_REGISTRY_LOGIN }}
MODULES_REGISTRY_PASSWORD: ${{ secrets.DEV_MODULES_REGISTRY_PASSWORD }}
name: Build and Push images
steps:
- run: |
MODULES_MODULE_TAG="$(echo pr${{ github.ref_name }} | sed 's/\/.*//g')"
echo $MODULES_REGISTRY
echo $CI_COMMIT_REF_NAME
echo "MODULES_MODULE_TAG=$MODULES_MODULE_TAG" >> "$GITHUB_ENV"
echo $MODULES_MODULE_NAME
echo $MODULES_MODULE_SOURCE
echo $MODULES_MODULE_TAG
shell: bash
name: Show vars
# - uses: actions/checkout@v4
# - uses: deckhouse/modules-actions/setup@v1
# - uses: deckhouse/modules-actions/build@v1
- uses: actions/checkout@v4
- uses: deckhouse/modules-actions/setup@v1
- uses: deckhouse/modules-actions/build@v1

0 comments on commit e7762c5

Please sign in to comment.