Skip to content

Nightly Test

Nightly Test #1269

Workflow file for this run

name: Nightly Test
# Run the nightly tests at at 8 AM UTC / 1 AM Pacific
on:
schedule:
- cron: "0 8 * * *"
jobs:
docker:
runs-on: ubuntu-latest
env:
PROD_IMAGE: ghcr.io/metcalfc/docker-action-examples:edge
HUB_PULL_SECRET: NA
steps:
# GitHub Actions do not automatically checkout your projects. If you need the code
# you need to check it out.
- name: Checkout
uses: actions/[email protected]
- name: Login to ghcr
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Compose up
run: docker-compose -f docker-compose.yml up -d
- name: Check running containers
run: docker ps -a
- name: Check logs
run: docker-compose -f docker-compose.yml logs
- name: Compose down
run: docker-compose -f docker-compose.yml down