Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
65bb218260 | ||
|
|
d8d90a8414 | ||
|
|
2e95aa0234 |
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user