Skip to content

Commit

Permalink
changed strategy for lowering name and moved image name in pulling step
Browse files Browse the repository at this point in the history
  • Loading branch information
leoBitto committed Oct 13, 2024
1 parent 54151bb commit 799fb6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,9 @@ jobs:
username: ${{ secrets.USERNAME }}
key: ${{ secrets.PRIVATE_KEY }}
script: |
IMAGE_NAME="${{ env.REGISTRY }}/$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')"
echo ${{ secrets.GHCR_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
docker pull ${IMAGE_NAME_LC}
docker pull $IMAGE_NAME
- name: Start container
uses: appleboy/ssh-action@v0.1.3
Expand Down

0 comments on commit 799fb6e

Please sign in to comment.