Skip to content

Commit

Permalink
Login before pushing
Browse files Browse the repository at this point in the history
  • Loading branch information
shankari committed Nov 14, 2024
1 parent 34b89c7 commit fc638a2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build_and_push_csms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,17 @@ jobs:
# 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}"
docker tag ${{ matrix.csms }}-csms-manager:latest ghcr.io/everest/everest-demo/${{ matrix.csms }}-csms-manager:"${TAG}"
echo "After retagging, image list is"
docker image list
- name: Log into GitHub container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push the images as packages
id: push-the-images-as-packages
shell: bash
Expand Down

0 comments on commit fc638a2

Please sign in to comment.