Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
97487b4
Update .gitignore to include Docker-related files and directories
pollardld Jul 13, 2026
cb8025b
Add Docker configuration and setup for WCOA development environment
pollardld Jul 14, 2026
f547f50
Fix gpt_allowed_origin format in .env.example
pollardld Jul 14, 2026
d6b67bd
Merge pull request #31 from Ecotrust/dd3
pollardld Jul 14, 2026
23e916f
Add db-restore script for PostgreSQL dump restoration in WCOA Docker DB
pollardld Jul 15, 2026
6e6f941
Merge pull request #32 from Ecotrust/dd4
pollardld Jul 16, 2026
669629c
Update Taskfile to include environment variable loading for Docker bu…
pollardld Jul 16, 2026
c55f85c
Refactor Docker compose configuration and add requirements file for m…
pollardld Jul 17, 2026
8f3d7eb
Merge pull request #33 from Ecotrust/dd6
pollardld Jul 17, 2026
8d4e297
Add Docker quickstart section to README
pollardld Jul 21, 2026
3dc3468
Add GitHub Actions workflow for building and publishing wcoa image
pollardld Jul 21, 2026
806002f
Create production Docker Compose configuration
pollardld Jul 21, 2026
ae463ef
Fix syntax error in base task command in Taskfile.yml
pollardld Jul 21, 2026
ea9a6d7
Update actions/checkout to v6 in build-and-publish-image.yml
pollardld Jul 21, 2026
c9cd7c4
Update BASE_TAG to 'latest' in Dockerfile and fix quoting in Taskfile…
pollardld Jul 21, 2026
b402e3d
Merge pull request #34 from Ecotrust/dd7
pollardld Jul 22, 2026
2a95cc0
Update BASE_TAG in build-and-publish-image.yml and improve environmen…
pollardld Jul 22, 2026
188fd27
Merge pull request #35 from Ecotrust/dd7
pollardld Jul 22, 2026
9b56487
Update BASE_TAG in build-and-publish-image.yml to a specific commit SHA
pollardld Jul 22, 2026
6ae1985
Merge pull request #36 from Ecotrust/dd7
pollardld Jul 22, 2026
5b46cd2
Fix build context and dockerfile path in compose.yml for app service
pollardld Jul 23, 2026
d73101d
Update environment variables in .env.example using local .env
pollardld Jul 27, 2026
8693995
Refactor README.md to streamline setup instructions and remove legacy…
pollardld Jul 30, 2026
5af33ed
Add support for multi-platform builds in GitHub Actions and update RE…
pollardld Jul 30, 2026
82d0018
Add newline for better readability in README.md
pollardld Aug 3, 2026
a71c7a8
Remove IMAGE_PLATFORMS variable from build-and-publish-image.yml and …
pollardld Aug 3, 2026
813c7e0
adding default nginx config file for testing production deploy on wor…
rhodges Aug 3, 2026
38d2245
Add TODOs for production compose instructions and media file permissions
pollardld Aug 3, 2026
983ab63
Update BASE_TAG to latest in build-and-publish-image.yml
pollardld Aug 3, 2026
c56d0c1
Add production configuration file for WCOA deployments
pollardld Aug 5, 2026
2cc51d1
Update .gitignore to include elasticsearch backups and add .gitkeep file
pollardld Aug 5, 2026
baf6c7b
Update README and production compose files for Docker decoupling rollout
pollardld Aug 5, 2026
8ea26d9
Add IMAGE_PLATFORMS environment variable for multi-platform builds
pollardld Aug 5, 2026
bc52034
Add script to create Elasticsearch snapshots with configurable reposi…
pollardld Aug 5, 2026
63d44cb
Add db_dump script for automated database backups with Docker
pollardld Aug 5, 2026
8bfdc4a
Reindent db_dump and create_elastic_snapshot scripts for consistency
pollardld Aug 5, 2026
c7cb01d
Add deployment runbooks for WCOA and remove deprecated rollout document
pollardld Aug 5, 2026
44e3e0b
Refactor AWS Deployment and Production Cutover runbooks for clarity a…
pollardld Aug 5, 2026
9b02c57
Update WCOA Production Cutover documentation for clarity and consistency
pollardld Aug 5, 2026
7b17306
Enhance AWS Deployment and Production Cutover documentation with addi…
pollardld Aug 7, 2026
61f5bf4
Update Docker Buildx action to version 4 for improved functionality
pollardld Aug 11, 2026
e7ff2f2
Add QEMU setup step to Docker build workflow
pollardld Aug 11, 2026
a9f9ea0
Remove QEMU and multiple platforms bc of huge build and push action
pollardld Aug 11, 2026
e5fdccf
Add IMAGE_PLATFORMS environment variable and update build-push action…
pollardld Aug 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions .github/workflows/build-and-publish-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Build and publish wcoa image

on:
push:
branches: [main, dockerdecouple]
workflow_dispatch:

env:
BASE_TAG: latest
IMAGE_NAME: ghcr.io/ecotrust/wcoa
IMAGE_PLATFORMS: linux/amd64,linux/arm64

jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- name: Checkout repository
uses: actions/checkout@v6

- name: Set up QEMU
uses: docker/setup-qemu-action@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4

- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract short SHA
id: meta
run: echo "sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
file: docker/Dockerfile
push: true
platforms: ${{ env.IMAGE_PLATFORMS }}
build-args: |
BASE_TAG=${{ env.BASE_TAG }}
tags: |
${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.sha }}
${{ env.IMAGE_NAME }}:latest
${{ env.IMAGE_NAME }}:qemu
cache-from: type=gha
cache-to: type=gha,mode=max
18 changes: 17 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,20 @@ Icon*
*.sql
wcoa/fixtures/initial_data_archive-*.json
wars/
tomcat-users.xml
tomcat-users.xml

config.wcoa.ini
env/
marco/static/

# Docker
docker/backups/*
!docker/backups/elasticsearch/
docker/backups/elasticsearch/*
!docker/backups/elasticsearch/.gitkeep
docker/media/
docker/static/
docker/entrypoint.sh
docker/docker-requirements.txt
docker/wars/
.env
Loading
Loading