Skip to content

Merge pull request #301 from projectcaluma/dependabot/npm_and_yarn/em… #158

Merge pull request #301 from projectcaluma/dependabot/npm_and_yarn/em…

Merge pull request #301 from projectcaluma/dependabot/npm_and_yarn/em… #158

Workflow file for this run

name: Publish Ember Docker
on:
push:
branches:
- main
env:
ember-dir: ./ember
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout branch
uses: actions/checkout@v2
- name: Install dependencies
run: yarn install
working-directory: ${{env.ember-dir}}
- name: Build App
run: yarn build
working-directory: ${{env.ember-dir}}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Publish to Docker Hub
uses: docker/[email protected]
with:
context: ./ember
file: ./ember/Dockerfile
tags: ghcr.io/projectcaluma/caluma-portal-demo:latest
push: true