Compare commits

...

5 Commits

Author SHA1 Message Date
Cleo d0820de986 Update docker compose to use latest built image 2026-07-12 17:32:43 +02:00
Cleo 53c6d21633 Update README.md 2026-07-12 17:30:30 +02:00
Cleo d34e41db30 try fixing docker build workflow again
Build and Push Docker Image / build (release) Successful in 1m18s
2026-07-12 17:18:11 +02:00
Cleo 067e0f7009 try fixing docker build workflow
Build and Push Docker Image / build (release) Failing after 12s
2026-07-12 17:12:25 +02:00
Cleo 184b4750f5 create workflow to build image on release
Build and Push Docker Image / build (release) Failing after 1m1s
2026-07-01 22:34:16 +02:00
3 changed files with 51 additions and 3 deletions
+44
View File
@@ -0,0 +1,44 @@
name: Build and Push Docker Image
on:
release:
types: [ published ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to Registry
uses: docker/login-action@v2
with:
registry: gitea.innovativename.xyz
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build Docker Image
env:
RELEASE_TAG: ${{ github.ref_name }}
SHORT_HASH: ${{ github.sha }}
USER_NAME: cleo
run: |
# Build the image with the commit hash tag
docker build --build-arg BUILD_IDENTIFIER=${SHORT_HASH:0:5} -t gitea.innovativename.xyz/${USER_NAME}/archipelago-server-docker:${RELEASE_TAG} .
# Tag the same image as "latest"
docker tag gitea.innovativename.xyz/${USER_NAME}/archipelago-server-docker:${RELEASE_TAG} gitea.innovativename.xyz/${USER_NAME}/archipelago-server-docker:latest
- name: Push Docker Images
env:
RELEASE_TAG: ${{ github.ref_name }}
SHORT_HASH: ${{ github.sha }}
USER_NAME: cleo
run: |
docker push gitea.innovativename.xyz/${USER_NAME}/archipelago-server-docker:${RELEASE_TAG}
docker push gitea.innovativename.xyz/${USER_NAME}/archipelago-server-docker:latest
- name: Log out from registry
if: always()
run: docker logout gitea.innovativename.xyz
+2
View File
@@ -9,3 +9,5 @@ Note: The save file needs to be created somewhere else and then put into the mou
### Env Vars:
- `SERVERPASSWORD` -> The password needed to connect to the server
- `HOST` -> (optional) The host that the server is supposed to be reachable from
- `PASSWORD` -> (optional) The password needed to remotely execute admin commands
+5 -3
View File
@@ -1,8 +1,10 @@
services:
server:
build: ./
image: gitea.innovativename.xyz/cleo/archipelago-server-docker:latest
container_name: archipelago_server
ports:
- 38281:38281
volumes:
- /srv/archipelago/saves:/home/archipelago/saves
env_file: .env
- /path/to/saves:/home/archipelago/saves
environment:
- SERVERPASSWORD=change_me