Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
65bb218260 | ||
|
|
d8d90a8414 | ||
|
|
2e95aa0234 |
@@ -24,7 +24,7 @@ jobs:
|
|||||||
- name: Build container image
|
- name: Build container image
|
||||||
env:
|
env:
|
||||||
IMAGE_TAG: ${{ steps.get_version.outputs.version-without-v }}
|
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
|
- name: Install doctl
|
||||||
uses: digitalocean/action-doctl@v2
|
uses: digitalocean/action-doctl@v2
|
||||||
|
|||||||
+22
-1
@@ -14,7 +14,7 @@ spec:
|
|||||||
rollingUpdate:
|
rollingUpdate:
|
||||||
maxSurge: 1
|
maxSurge: 1
|
||||||
maxUnavailable: 1
|
maxUnavailable: 1
|
||||||
minReadySeconds: 30
|
minReadySeconds: 120
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
@@ -23,3 +23,24 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: goff
|
- name: goff
|
||||||
image: <IMAGE>
|
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