From 589ab31ff6581eb7fe31bfb7b1ec5d7e56466080 Mon Sep 17 00:00:00 2001 From: soneill Date: Thu, 16 Sep 2021 18:10:39 +1200 Subject: [PATCH] Adds dockerci --- .github/dependabot.yml | 20 ++++++++++++++++++++ .github/workflows/docker-image.yml | 27 +++++++++++++++++++++++++++ README.md | 3 +++ 3 files changed, 50 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/docker-image.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..b04831db --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,20 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + # Enable version updates for Docker + - package-ecosystem: "composer" + # Look for a `Dockerfile` in the `root` directory + directory: "/" + # Check for updates once a week + schedule: + interval: "weekly" + - package-ecosystem: "npm" + # Look for a `Dockerfile` in the `root` directory + directory: "/" + # Check for updates once a week + schedule: + interval: "weekly" diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 00000000..544c4263 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,27 @@ +name: Docker Image CI + +on: + push: + branches: + - master + pull_request: + branches: + - master + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + schedule: + - cron: "0 4 * * 0-6" + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + with: + submodules: 'recursive' + - name: Build the Docker image + run: docker build . --file Dockerfile --tag goryn-pathfinder:$(date +%s) + diff --git a/README.md b/README.md index 73a8624d..26136b96 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ # ![Pathfinder logo](favicon/favicon-32x32.png "Logo") *PATHFINDER* + +[![Docker Image Master Branch](https://github.com/goryn-clade/pathfinder/actions/workflows/docker-image.yml/badge.svg?branch=master)](https://github.com/goryn-clade/pathfinder/actions/workflows/docker-image.yml) + #### Mapping tool for [*EVE ONLINE*](https://www.eveonline.com) This Pathfinder Fork is an attempt to make a community supported fork in the absence of [Exodus4d](https://github.com/exodus4d) that will include bug fixes and be upgraded for any changes to the Eve Online universe.