Build with Drone

This commit is contained in:
Jack Jackson 2024-06-09 10:25:03 -07:00
parent e4ea529fbe
commit deff3a6344
3 changed files with 33 additions and 3 deletions

25
.drone.yml Normal file
View File

@ -0,0 +1,25 @@
kind: pipeline
name: build-and-deploy
type: docker
platform:
os: linux
arch: arm64
steps:
- name: docker-build-and-push
image: thegeeklab/drone-docker-buildx # Absurd that this isn't offered as first-party!
privileged: true
settings:
registry: gitea.scubbo.org
username: scubbo
password:
from_secret: gitea_password
repo: gitea.scubbo.org/${DRONE_REPO}
tags:
- ${DRONE_COMMIT_SHA:0:10}
platforms:
- linux/arm64
- linux/amd64
# TODO - use kustomize to update the deployed image.

View File

@ -21,7 +21,7 @@
<p>
(This is only listing user-facing functionality - there are also plenty of technical or QA considerations that I'd
like to add! See the <a href="https://github.com/scubbo/edh-elo/blob/placeholder/NOTES.md">GitHub Repo</a> for more
like to add! See the <a href="https://gitea.scubbo.org/scubbo/edh-elo/src/branch/main/NOTES.md">GitHub Repo</a> for more
details)
</p>

View File

@ -8,6 +8,11 @@
{% endblock %}
{% block content %}
<p>
<b>PLEASE NOTE</b> that this application is currently in a "pre-alpha" state. You should <i>not</i> depend on it for
durable data persistence. Please use this application only on an experimental basis, and make a backup of your play
data elsewhere separately (for now!).
</p>
<input type="hidden" id="player_deck_data" value="{{ player_decks }}"/>
<label for="date">Date:</label>
<input type="date" id="date" name="date">