From 6c150dd15bf68957c8224a1732edfca7c221630c Mon Sep 17 00:00:00 2001 From: Anatoly Zelenin Date: Fri, 14 Jun 2024 15:24:29 +0000 Subject: [PATCH] CI --- .github/workflows/ghcr-push.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ghcr-push.yml b/.github/workflows/ghcr-push.yml index 551cb00..568d5db 100644 --- a/.github/workflows/ghcr-push.yml +++ b/.github/workflows/ghcr-push.yml @@ -27,8 +27,15 @@ jobs: # - csp2_producer # - csp2_transformer # - dashboard + + # 1. go to the directory + - name: Change directory + run: cd csp1_producer + # 2. build the image - name: Build image - run: docker build csp1_producer --file Dockerfile --tag $IMAGE_NAME/csp1_producer --label "runnumber=${GITHUB_RUN_ID}" + run: docker build . --file Dockerfile --tag $IMAGE_NAME/csp1_producer --label "runnumber=${GITHUB_RUN_ID}" + + - name: Log in to registry run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin - name: Push image