Skip to content

Commit

Permalink
Now that build works, re-tag and push
Browse files Browse the repository at this point in the history
  • Loading branch information
shankari committed Nov 14, 2024
1 parent a913898 commit 664375d
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/build_and_push_csms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,24 @@ jobs:
pushd ${{ matrix.csms }}-csms
docker compose build
- name: List and export newly built images
id: list-and-export-newly-built-images
- name: List, tag and push newly built images
id: list-tag-and-push-newly-built-images
shell: bash
run: |
echo "Before retagging, image list is"
docker image list
# hardcoding the list of containers for now
echo "Retagging {{ $matrix-csms }}-csms-gateway:latest to "
docker tag {{ $matrix-csms }}-csms-gateway:latest ghcr.io/everest/everest-demo/${{ $matrix-csms }}-csms-gateway:"${TAG}"
docker tag {{ $matrix-csms }}-csms-gateway:latest ghcr.io/everest/everest-demo/${{ $matrix-csms }}-csms-manager:"${TAG}"
echo "After retagging, image list is"
docker image list
- name: Push the images as packages
id: push-the-images-as-packages
shell: bash
run: |
docker push ghcr.io/everest/everest-demo/${{ $matrix-csms }}-csms-gateway:"${TAG}"
docker push ghcr.io/everest/everest-demo/${{ $matrix-csms }}-csms-manager:"${TAG}"

0 comments on commit 664375d

Please sign in to comment.