diff --git a/.github/workflows/ghcr.yml b/.github/workflows/ghcr.yml index c7659113..c6ceedb6 100644 --- a/.github/workflows/ghcr.yml +++ b/.github/workflows/ghcr.yml @@ -3,8 +3,11 @@ name: GHCR on: workflow_dispatch: push: - branches: [master] - tags: ["v*.*.*"] + branches: + - next + - use-images + tags: + - v*.*.* env: REGISTRY: ghcr.io diff --git a/docker-compose.yml b/docker-compose.yml index 00ade3ba..436bf3b6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,9 +34,7 @@ services: - DKIM_KEY_PATH=/etc/exim4/dkim.key.temp restart: always service: - build: - context: . - dockerfile: service.dockerfile + image: 'ghcr.io/getodk/central-service:use-images' depends_on: - secrets - postgres14 @@ -75,9 +73,7 @@ services: logging: driver: local nginx: - build: - context: . - dockerfile: nginx.dockerfile + image: 'ghcr.io/getodk/central-nginx:use-images' depends_on: - service - enketo