File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ jobs:
31
31
token : ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
32
32
33
33
- 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) .
35
35
36
36
- name : Log in to DigitalOcean Container Registry with short-lived credentials
37
37
run : doctl registry login --expiry-seconds 1200
38
38
39
39
- 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)
You can’t perform that action at this time.
0 commit comments