diff --git a/.github/workflows/ghcr-push.yml b/.github/workflows/ghcr-push.yml index 568d5db..1de4a58 100644 --- a/.github/workflows/ghcr-push.yml +++ b/.github/workflows/ghcr-push.yml @@ -29,13 +29,13 @@ jobs: # - dashboard # 1. go to the directory - - name: Change directory - run: cd csp1_producer + #- name: Change directory + # run: cd csp1_producer # 2. build the image - name: Build image - run: docker build . --file Dockerfile --tag $IMAGE_NAME/csp1_producer --label "runnumber=${GITHUB_RUN_ID}" + run: cd csp1_producer && docker build . --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