File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ jobs:
17
17
- name : Update webpack deployment file process.env.BASE_URL
18
18
run : sed -i 's|DEPLOY_BASE_URL|process.env.BASE_URL|' $GITHUB_WORKSPACE/webpack.config.js
19
19
- name : Build container image
20
- run : docker build -t registry.digitalocean.com/npuzzle /main:fe-b-repo -$(echo $GITHUB_SHA | head -c7) .
20
+ run : docker build -t registry.digitalocean.com/mw-server /main:npuzzle-brdrepo -$(echo $GITHUB_SHA | head -c7) .
21
21
- name : Log in to DigitalOcean Container Registry with short-lived credentials
22
22
run : doctl registry login --expiry-seconds 1200
23
23
- name : Push image to DigitalOcean Container Registry
24
- run : docker push registry.digitalocean.com/npuzzle /main:fe-b-repo -$(echo $GITHUB_SHA | head -c7)
24
+ run : docker push registry.digitalocean.com/mw-server /main:npuzzle-brdrepo -$(echo $GITHUB_SHA | head -c7)
25
25
- name : Update deployment file
26
- run : TAG=$(echo $GITHUB_SHA | head -c7) && sed -i 's|<IMAGE>|registry.digitalocean.com/npuzzle /main:fe-b-repo -'${TAG}'|' $GITHUB_WORKSPACE/k8s/auto-deployment.yml
26
+ run : TAG=$(echo $GITHUB_SHA | head -c7) && sed -i 's|<IMAGE>|registry.digitalocean.com/mw-server /main:npuzzle-brdrepo -'${TAG}'|' $GITHUB_WORKSPACE/k8s/auto-deployment.yml
27
27
- name : Save DigitalOcean kubeconfig with short-lived credentials
28
28
run : doctl kubernetes cluster kubeconfig save --expiry-seconds 600 ${{ secrets.DO_CLUSTER_NAME }}
29
29
- name : Deploy to DigitalOcean Kubernetes
You can’t perform that action at this time.
0 commit comments