Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions workflow-templates/docker-build-deploy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "Custom Docker Build & Deploy",
"description": "This pipeline will take a Dockerfile and provides a build chain to push the image to Artifactory as well as deploying it to Janus whenever a new commit is pushed to the main branch",
"iconName": "octicon repo",
"categories": [
"deployment",
"Docker"
],
"filePatterns": [
"^Dockerfile"
]
}
19 changes: 19 additions & 0 deletions workflow-templates/docker-build-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# For official documentation on this workflow, please refer to the link below.
# https://github.com/brandwatch/bw-workflow-actions/blob/dev/workflows/docker/generic-docker-build-and-deploy.md

name: CI Pipeline - Custom Docker Image Build & Deploy

on:
push:
branches:
- main

permissions:
checks: write
contents: read

jobs:
build-pipeline:
name: "Build & Deploy Docker Image"
uses: brandwatch/bw-workflow-actions/.github/workflows/generic-docker-build-and-deploy.yml@production
secrets: inherit