Skip to content

Workflow file for this run

name: Build and push docker image to github registry. Deploy to Jelastic.
on:
release:
types:
- released
branches:
- master
jobs:
build:
runs-on: codebuild-f-ai-builder-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-medium
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build & Deploy to Elastx
uses: helsingborg-stad/build-deploy-elastx/1.0@main
with:
JELASTIC_API_KEY: ${{ secrets.JELASTIC_API_KEY }}
JELASTIC_NODE_ID: ${{ secrets.JELASTIC_NODE_ID }}
JELASTIC_ENV_NAME: ${{ secrets.JELASTIC_ENV_NAME }}
JELASTIC_TAG: ${{ github.event.release.tag_name }}
DOCKER_CONTEXT: ${{ vars.DOCKER_CONTEXT }}
DOCKER_FILE_PATH: ${{ vars.DOCKER_FILE_PATH }}