Skip to content

Commit

Permalink
Connect to dockworker-baseimage
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobSanford committed Jul 12, 2023
1 parent 80ea0b4 commit b629e43
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 6 deletions.
20 changes: 20 additions & 0 deletions .dockworker/dockworker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
dockworker:
version: '6'
application:
description: A lightweight extensible nginx/PHP docker image, suitable for development or production deployments.
uri: https://github.com/unb-libraries/docker-nginx-php
identifiers:
id: docker-nginx-php
slug: docker-nginx-php
short_slug: basenginxphp
uuid: 6001
topics:
- nginx
- php
image:
name: ghcr.io/unb-libraries/nginx-php
workflows:
vcs:
type: github
owner: unb-libraries
name: docker-nginx-php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: docker-nginx-php
name: Build ghcr.io/unb-libraries/nginx-php

on:
pull_request:
Expand All @@ -7,11 +7,11 @@ on:

jobs:
deploy:
uses: unb-libraries/dockworker/.github/workflows/build-push-notify.yaml@6.x
uses: unb-libraries/dockworker-baseimage/.github/workflows/build-base-image.yaml@6.x
with:
image-name: 'ghcr.io/unb-libraries/nginx-php'
push-branches: '["3.x"]'
image-name: ghcr.io/unb-libraries/nginx-php
secrets:
GH_CONTAINER_REGISTRY_USER: ${{ secrets.GH_CONTAINER_REGISTRY_USER }}
GH_CONTAINER_REGISTRY_TOKEN: ${{ secrets.GH_CONTAINER_REGISTRY_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
GH_CONTAINER_REGISTRY_TOKEN: ${{ secrets.GH_CONTAINER_REGISTRY_TOKEN }}
GH_CONTAINER_REGISTRY_USER: ${{ secrets.GH_CONTAINER_REGISTRY_USER }}

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.gitkeep
vendor
/composer.lock
20 changes: 20 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"config": {
"allow-plugins": {
"php-http/discovery": true
}
},
"description": "Builds the base ghcr.io/unb-libraries/nginx/php image.",
"license": "MIT",
"minimum-stability": "dev",
"name": "unb-libraries/docker-nginx-php",
"prefer-stable": true,
"require-dev": {
"unb-libraries/dockworker-baseimage": "6.x-dev"
},
"scripts": {
"post-update-cmd": [
"vendor/bin/dockworker git:setup-hooks"
]
}
}

0 comments on commit b629e43

Please sign in to comment.