You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/publish.yml
-23Lines changed: 0 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -31,15 +31,6 @@ jobs:
31
31
username: ${{ github.actor }}
32
32
password: ${{ secrets.GITHUB_TOKEN }}
33
33
34
-
# Install DO CLI
35
-
- name: Install doctl
36
-
uses: digitalocean/action-doctl@v2
37
-
with:
38
-
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
39
-
40
-
- name: Log in to DigitalOcean Container Registry with short-lived credentials
41
-
run: doctl registry login --expiry-seconds 1200
42
-
43
34
# This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a subsequent step. The `images` value provides the base name for the tags and labels.
44
35
- name: Extract metadata (tags, labels) for Docker
45
36
id: meta
@@ -56,17 +47,3 @@ jobs:
56
47
push: true
57
48
tags: ${{ steps.meta.outputs.tags }}
58
49
labels: ${{ steps.meta.outputs.labels }}
59
-
60
-
deploy-to-cluster:
61
-
steps:
62
-
- name: Update deployment file
63
-
run: TAG=$(echo $GITHUB_SHA | head -c7) && sed -i 's|<IMAGE>|${{ secrets.REGISTRY_NAME }}/${{ env.IMAGE_NAME }}:'${TAG}'|' $GITHUB_WORKSPACE/config/deployment.yml
64
-
65
-
- name: Save DigitalOcean kubeconfig with short-lived credentials
0 commit comments