Skip to content

Commit

Permalink
Reusable CI workflows must be called as jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcserep committed Jun 9, 2023
1 parent 7665f04 commit fd3edc1
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,21 +237,16 @@ jobs:
docker:
needs: parse
if: ${{ github.repository == 'Ericsson/CodeCompass' && (github.ref_name == 'master' || startsWith(github.ref_name, 'release/') == true) }}

runs-on: ubuntu-20.04
steps:
- name: Build Docker images
uses: ./.github/workflows/docker.yml
with:
tag-latest: ${{ github.ref_name == 'master' }}
uses: ./.github/workflows/docker.yml
with:
tag-latest: ${{ github.ref_name == 'master' }}
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}


## TARBALL JOB
tarball:
needs: parse
if: ${{ github.repository == 'Ericsson/CodeCompass' && (github.ref_name == 'master' || startsWith(github.ref_name, 'release/') == true) }}

runs-on: ubuntu-20.04
steps:
- name: Create Tarball
uses: ./.github/workflows/tarball.yml
uses: ./.github/workflows/tarball.yml

0 comments on commit fd3edc1

Please sign in to comment.