Compare commits

...
3 Commits
Author SHA1 Message Date
Dustin Pianalto 65bb218260 Initial DO workflow test
CI / build (push) Has been cancelled
2021-01-13 00:15:42 -09:00
Dustin Pianalto d8d90a8414 Initial DO workflow test
CI / build (push) Has been cancelled
2021-01-12 23:29:51 -09:00
Dustin Pianalto 2e95aa0234 Initial DO workflow test
CI / build (push) Has been cancelled
2021-01-12 23:20:04 -09:00
2 changed files with 23 additions and 2 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
- name: Build container image
env:
IMAGE_TAG: ${{ steps.get_version.outputs.version-without-v }}
run: docker build -t registry.digitalocean.com/djpianalto/goff:$IMAGE_TAG
run: docker build -t registry.digitalocean.com/djpianalto/goff:$IMAGE_TAG .
- name: Install doctl
uses: digitalocean/action-doctl@v2
+22 -1
View File
@@ -14,7 +14,7 @@ spec:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
minReadySeconds: 30
minReadySeconds: 120
template:
metadata:
labels:
@@ -23,3 +23,24 @@ spec:
containers:
- name: goff
image: <IMAGE>
env:
- name: DATABASE_URL
valueFrom:
secretKeyRef:
name: goff
key: database_url
- name: DISCORDGO_TOKEN
valueFrom:
secretKeyRef:
name: goff
key: discord_token
- name: GOFF_EMAIL_USERNAME
valueFrom:
secretKeyRef:
name: goff
key: email_username
- name: GOFF_EMAIL_PASSWORD
valueFrom:
secretKeyRef:
name: goff
key: email_password