Skip to content

Commit

Permalink
Build images on push to next
Browse files Browse the repository at this point in the history
  • Loading branch information
lognaturel committed Jun 27, 2024
1 parent e49518a commit 6846a72
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ name: GHCR
on:
workflow_dispatch:
push:
branches: [master]
tags: ["v*.*.*"]
branches:
- next
- use-images
tags:
- v*.*.*

env:
REGISTRY: ghcr.io
Expand Down
8 changes: 2 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:next'
depends_on:
- secrets
- postgres14
Expand Down Expand Up @@ -75,9 +73,7 @@ services:
logging:
driver: local
nginx:
build:
context: .
dockerfile: nginx.dockerfile
image: 'ghcr.io/getodk/central-nginx:next'
depends_on:
- service
- enketo
Expand Down

0 comments on commit 6846a72

Please sign in to comment.