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 ffaec63 commit fd045bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ghcr-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Build and push csp1_producer
run: |
cd csp1_producer
for DIR in csp1_producer csp1_consumer csp1_transformer csp2_producer csp2_transformer dashboard ;do
IMAGE_NAME=$PROJECT/$DIR
IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME
Expand All @@ -41,7 +42,7 @@ jobs:
echo "Building $IMAGE_NAME:$VERSION"
echo VERSION=$VERSION
cd ~/$DIR
cd ../$DIR
docker build . --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
docker tag $IMAGE_NAME $IMAGE_ID:$VERSION
echo "Pushing $IMAGE_ID:$VERSION"
Expand Down

0 comments on commit fd045bd

Please sign in to comment.