Skip to content

Commit fd3edc1

Browse files
committed
Reusable CI workflows must be called as jobs.
1 parent 7665f04 commit fd3edc1

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.github/workflows/ci.yml

+7-12
Original file line numberDiff line numberDiff line change
@@ -237,21 +237,16 @@ jobs:
237237
docker:
238238
needs: parse
239239
if: ${{ github.repository == 'Ericsson/CodeCompass' && (github.ref_name == 'master' || startsWith(github.ref_name, 'release/') == true) }}
240-
241-
runs-on: ubuntu-20.04
242-
steps:
243-
- name: Build Docker images
244-
uses: ./.github/workflows/docker.yml
245-
with:
246-
tag-latest: ${{ github.ref_name == 'master' }}
240+
uses: ./.github/workflows/docker.yml
241+
with:
242+
tag-latest: ${{ github.ref_name == 'master' }}
243+
secrets:
244+
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
245+
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
247246

248247

249248
## TARBALL JOB
250249
tarball:
251250
needs: parse
252251
if: ${{ github.repository == 'Ericsson/CodeCompass' && (github.ref_name == 'master' || startsWith(github.ref_name, 'release/') == true) }}
253-
254-
runs-on: ubuntu-20.04
255-
steps:
256-
- name: Create Tarball
257-
uses: ./.github/workflows/tarball.yml
252+
uses: ./.github/workflows/tarball.yml

0 commit comments

Comments
 (0)