Skip to content

Commit 4f634d1

Browse files
authored
[Timeseries]: Workflow: Fixed the weekly image build & push workflow (open-edge-platform#857)
Signed-off-by: Vellaisamy, Sathyendran <sathyendran.vellaisamy@intel.com>
1 parent d2a48f0 commit 4f634d1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/timeseries-build-weekly-images.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,12 @@ jobs:
3737
3838
- name: Push Docker img
3939
run: |
40-
docker push ghcr.io/${{ github.repository }}/intel/ia-time-series-analytics-microservice:1.0.0
40+
IMAGE_NAME=$(grep '^TIME_SERIES_ANALYTICS_IMAGE=' microservices/time-series-analytics/docker/.env | cut -d'=' -f2)
41+
docker push ghcr.io/${{ github.repository }}/$IMAGE_NAME
4142
4243
- name: Clean up
4344
if: always()
4445
run: |
4546
rm -rf edge-ai-libraries-repo
46-
docker rmi ghcr.io/${{ github.repository }}intel/ia-time-series-analytics-microservice:1.0.0 || true
47+
IMAGE_NAME=$(grep '^TIME_SERIES_ANALYTICS_IMAGE=' microservices/time-series-analytics/docker/.env | cut -d'=' -f2)
48+
docker rmi ghcr.io/${{ github.repository }}/$IMAGE_NAME || true

0 commit comments

Comments
 (0)