Skip to content

feat(version): release 0.0.8 version #7

feat(version): release 0.0.8 version

feat(version): release 0.0.8 version #7

Workflow file for this run

name: Docker Image (onpremise-3d)
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/[email protected]
- name: Extract Version from package.json
id: project_version
run: echo "::set-output name=version::$(node -e 'console.log(require("./package.json").version)')"
- name: Build the Docker Image
run: |
docker build \
--file Dockerfile \
--tag robolaunchio/frontend-onpremise:${{ steps.project_version.outputs.version }}-3d \
.
- name: Login to Docker Hub
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
- name: Push the Docker Image to Docker Hub
run: docker push robolaunchio/frontend-onpremise:${{ steps.project_version.outputs.version }}-3d