[AB-204] adding docker container build to release job

This commit is contained in:
Sheldan
2021-03-21 17:53:44 +01:00
parent b4e36efafb
commit ebed1daadc
2 changed files with 14 additions and 2 deletions

View File

@@ -27,4 +27,16 @@ jobs:
target-folder: docs/${{ env.version }} target-folder: docs/${{ env.version }}
branch: master branch: master
ssh-key: ${{ secrets.ACTIONS_DEPLOY_KEY }} ssh-key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
folder: abstracto-application/documentation/target/generated-docs folder: abstracto-application/documentation/target/generated-docs
- name: Login to GitHub Packages Docker Registry
uses: docker/login-action@v1
with:
registry: docker.pkg.github.com
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push deployment container
working-directory: ./abstracto-application/installer/src/main/docker/deployment
run: docker-compose build && docker-compose push
env:
REGISTRY_PREFIX: docker.pkg.github.com/sheldan/abstracto
VERSION: ${{ env.version }}

View File

@@ -3,4 +3,4 @@ version: "3.7"
services: services:
bot: bot:
build: deployment build: deployment
image: abstracto_deployment:latest image: ${REGISTRY_PREFIX}abstracto_deployment:${VERSION}