Skip to content

Merge pull request #997 from EricInBj/dev #559

Merge pull request #997 from EricInBj/dev

Merge pull request #997 from EricInBj/dev #559

on:
push:
# Publish `dev` as Docker `latest` image.
branches:
- dev
jobs:
# Run tests.
# See also https://docs.docker.com/docker-hub/builds/automated-testing/
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run tests
run: echo "to-do"
# Push image to GitHub Packages.
# See also https://docs.docker.com/docker-hub/builds/
push:
# Ensure test job passes before pushing image.
needs: test
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
repository: librephotos/librephotos-docker
event-type: backend-commit-event