Skip to content

Commit 157097b

Browse files
authoredMay 28, 2024
Update docr.yml
1 parent e44cd47 commit 157097b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎.github/workflows/docr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
3232

3333
- name: Build container image
34-
run: docker build -t registry.digitalocean.com/${{ secrets.REGISTRY_NAME }}/$(echo $IMAGE_NAME | tr '-' '_'):$(echo $GITHUB_SHA | head -c7) .
34+
run: docker build -t registry.digitalocean.com/${{ secrets.DIGITALOCEAN_REGISTRY }}/$(echo $IMAGE_NAME | tr '-' '_'):$(echo $GITHUB_SHA | head -c7) .
3535

3636
- name: Log in to DigitalOcean Container Registry with short-lived credentials
3737
run: doctl registry login --expiry-seconds 1200
3838

3939
- name: Push image to DigitalOcean Container Registry
40-
run: docker push registry.digitalocean.com/${{ secrets.REGISTRY_NAME }}/$(echo $IMAGE_NAME | tr '-' '_'):$(echo $GITHUB_SHA | head -c7)
40+
run: docker push registry.digitalocean.com/${{ secrets.DIGITALOCEAN_REGISTRY }}/$(echo $IMAGE_NAME | tr '-' '_'):$(echo $GITHUB_SHA | head -c7)

0 commit comments

Comments
 (0)