Use GHCR in docker-compose (#299) #545
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI | |
on: | |
push: | |
branches: ["master", "main", "develop"] | |
pull_request: | |
branches: ["master", "main", "develop"] | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
COMPOSE_FILE: .ci/docker-compose.yml | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Build the Docker image | |
run: docker compose build --no-cache | |
- name: Test the Docker image | |
run: docker compose up --abort-on-container-exit | |
timeout-minutes: 30 |