Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
itadventurer committed Jun 14, 2024
1 parent 5721520 commit 6c150dd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ghcr-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c150dd

Please sign in to comment.