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 987017a commit 84b1265
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .dockworker/dockworker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
dockworker:
version: '6'
application:
description: A lightweight extensible nginx docker image, suitable for development or production deployments.
uri: https://github.com/unb-libraries/docker-nginx
identifiers:
id: docker-nginx
slug: docker-nginx
short_slug: basenginx
uuid: 6001
topics:
- nginx
image:
name: ghcr.io/unb-libraries/nginx
workflows:
vcs:
type: github
owner: unb-libraries
name: docker-nginx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: docker-nginx
name: Build ghcr.io/unb-libraries/nginx

on:
pull_request:
Expand All @@ -9,8 +9,9 @@ jobs:
deploy:
uses: unb-libraries/dockworker-baseimage/.github/workflows/build-base-image.yaml@6.x
with:
image-name: ghcr.io/unb-libraries/base
image-name: ghcr.io/unb-libraries/nginx
secrets:
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 image.",
"license": "MIT",
"minimum-stability": "dev",
"name": "unb-libraries/docker-nginx",
"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 84b1265

Please sign in to comment.