chore(actions): changes

This commit is contained in:
Taha Yassine Kraiem 2023-02-17 15:38:56 +01:00
parent 5fff5cbad5
commit 0fdcefe6e9

View file

@ -5,12 +5,11 @@ on:
branches:
- dev
paths:
- "ee/utilities/**"
- "utilities/*/**"
- "!utilities/.gitignore"
- "!utilities/*-dev.sh"
name: Build and Deploy Assist EE
name: Build and Deploy Assist
jobs:
deploy:
@ -21,7 +20,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
with:
# We need to diff with old commit
# We need to diff with old commit
# to see which workers got changed.
fetch-depth: 2
@ -39,12 +38,12 @@ jobs:
id: build-image
env:
DOCKER_REPO: ${{ secrets.OSS_REGISTRY_URL }}
IMAGE_TAG: ${{ github.ref_name }}_${{ github.sha }}-ee
IMAGE_TAG: ${{ github.ref_name }}_${{ github.sha }}
ENVIRONMENT: staging
run: |
skip_security_checks=${{ github.event.inputs.skip_security_checks }}
cd utilities
PUSH_IMAGE=0 bash -x ./build.sh ee
PUSH_IMAGE=0 bash -x ./build.sh
[[ "x$skip_security_checks" == "xtrue" ]] || {
curl -L https://github.com/aquasecurity/trivy/releases/download/v0.34.0/trivy_0.34.0_Linux-64bit.tar.gz | tar -xzf - -C ./
images=("assist")