Skip to content

Commit 2f25049

Browse files
authored
Update check-version.yml
1 parent 06c368f commit 2f25049

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/check-version.yml

+12
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ jobs:
5555
cd GUI && docker image build --tag $DOCKER_TAG_CUSTOM --no-cache .
5656
if: ${{ env.BRANCH == 'test' }}
5757

58+
- name: Build Notification image
59+
run: |
60+
echo "Building Docker image for branch: ${{ env.BRANCH }} major: ${{ env.MAJOR }} minor: ${{ env.MINOR }} patch: ${{ env.PATCH }}"
61+
cd notification-server && docker image build --tag notification-node-$DOCKER_TAG_CUSTOM --no-cache .
62+
if: ${{ env.BRANCH == 'test' }}
63+
5864
- name: Log in to GitHub container registry
5965
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
6066

@@ -64,6 +70,12 @@ jobs:
6470
docker push $DOCKER_TAG_CUSTOM
6571
if: ${{ env.BRANCH == 'test' }}
6672

73+
- name: Push Notification image to GitHub Packages
74+
run: |
75+
echo "Pushing Docker image to GitHub Packages"
76+
docker push notification-node-$DOCKER_TAG_CUSTOM
77+
if: ${{ env.BRANCH == 'test' }}
78+
6779
- name: Create Release
6880
uses: softprops/action-gh-release@v1
6981
if: ${{ env.BRANCH == 'main' }}

0 commit comments

Comments
 (0)