Added build step for container publish

This commit is contained in:
Sebastian Qvarfordt
2020-07-07 16:10:09 +02:00
parent be7ef69328
commit d4d5bda591
+13
View File
@@ -6,6 +6,7 @@ on:
- '.github/workflows/techdocs.yml'
- 'packages/techdocs-cli/**'
- 'plugins/techdocs/**'
- 'plugins/techdocs-backend/**'
jobs:
build:
@@ -23,6 +24,18 @@ jobs:
steps:
- uses: actions/checkout@v2
# Build Docker Image
- name: Build and push Docker images
uses: docker/build-push-action@v1.1.0
with:
path: plugins/techdocs/mkdocs/container
registry: docker.pkg.github.com
repository: ${{ github.repository }}/mkdocs
username: ${{ github.actor }}
password: ${{ github.token }}
tag_with_ref: true
push: true
# Lint Python code for techdocs-core package
- name: prepare python environment
run: |