From b4b9c26a88b2b1386a90a3f68cb3791ffd7983ab Mon Sep 17 00:00:00 2001 From: Jesse Y Lin Date: Mon, 24 Jul 2023 15:01:34 +0200 Subject: [PATCH] wip: init test commit of build-image --- .github/workflows/build-images.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index bc3fb06..269cc17 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -22,6 +22,17 @@ jobs: - "expe-db-api" - "autodisc-server" - "jupyter" + include: + - image: "app" + context: "./services/base/FrontEndApp" + - image: "gateway" + context: "./services/base/Gateway" + - image: "expe-db-api" + context: "./services/base/ExpeDB/API" + - image: "autodisc-server" + context: "./services/base/AutoDiscServer" + - image: "jupyter" + context: "./services/base/JupyterLab" runs-on: ubuntu-latest steps: - name: Checkout repo @@ -38,14 +49,11 @@ jobs: type=semver,pattern={{version}} - name: Login to Gitlab registry if: github.event_name != 'pull_request' - run: docker login - with: - username: ${{ secrets.GITLAB_REGISTRY_USERNAME }} - password: ${{ secrets.GITLAB_REGISTRY_PASSWORD }} + run: docker login -u ${{ secrets.GITLAB_REGISTRY_USERNAME }} -p ${{ secrets.GITLAB_REGISTRY_PASSWORD }} registry.gitlab.inria.fr/cromac/automateddiscoverytool - name: Build and push uses: docker/build-push-action@v4 with: - context: . + context: ${{ matrix.context }} push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}