Skip to content

Commit

Permalink
wip: init test commit of build-image
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseylin committed Jul 24, 2023
1 parent 7d01099 commit b4b9c26
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit b4b9c26

Please sign in to comment.