Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Bring in docker GitHub Action [ci skip]

Cyril Rohr1ab2e3b84bd0
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
new file mode 100644
index 00000000000..599a9e8e8a4
--- /dev/null
+++ b/.github/workflows/docker.yml
@@ -0,0 +1,24 @@
+name: Docker
+on:
+ # Scheduled workflows run on the latest commit on the default or base branch
+ schedule:
+ - cron: '20 2 * * *' # Daily at 02:20
+
+ push:
+ tags:
+ - v*
+jobs:
+ publish:
+ # restrict this job to base repo for now
+ if: github.repository == 'opf/openproject'
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+ - name: Publish to registry
+ uses: elgohr/Publish-Docker-Github-Action@master
+ with:
+ name: openproject/community-test
+ username: ${{ secrets.DOCKER_USERNAME }}
+ password: ${{ secrets.DOCKER_PASSWORD }}
+ tag_semver: true
+ cache: ${{ github.event_name != 'schedule' }}