Skip to content

Ability to add own building file #17

Ability to add own building file

Ability to add own building file #17

Workflow file for this run

name: Upload to DAFNI
on:
release:
types: [published]
jobs:
release:
name: Upload to DAFNI
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Docker Build
run: docker build -t vector-mesh .
- name: Compress docker image
run: docker save vector-mesh | gzip > vector-mesh.tar.gz
- name: Set tag as env
run: echo "TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Upload to DAFNI
uses: dafnifacility/[email protected]
with:
definition-path: './model-definition.yml'
image-path: ./vector-mesh.tar.gz
username: ${{ secrets.DAFNI_SERVICE_ACCOUNT_USERNAME }}
password: ${{ secrets.DAFNI_SERVICE_ACCOUNT_PASSWORD }}
version-message: ${{ env.TAG }}
parent-model: "b8283c34-9f32-4823-b362-a759d54f155a"