From fd3edc13ed30e70c63ab1775d64f199cae705b1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Cser=C3=A9p?= Date: Fri, 9 Jun 2023 14:27:18 +0200 Subject: [PATCH] Reusable CI workflows must be called as jobs. --- .github/workflows/ci.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b895d5302..d62c90c0e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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