Merge pull request #7 from fLotte-meets-HWR-DB/actions

Add master branch to push hooks
pull/8/head
Trivernis 4 years ago committed by GitHub
commit e840d8d507
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,7 +2,7 @@ name: Build Docker Image
on:
push:
branches: [ main ]
branches: [ main, master ]
workflow_dispatch:
jobs:
@ -31,7 +31,7 @@ jobs:
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64
platforms: linux/amd64
push: true
tags: |
flotte-docker-registry.spdns.org/frontend-server:latest

@ -1,7 +1,7 @@
FROM node:14.14.0-alpine3.10 AS builder
WORKDIR /
COPY package.json package-lock.json ./
RUN apk add --no-cache python3
RUN apk add --no-cache python3 build-base
RUN npm install && npm install -g @angular/cli && mkdir frontend
RUN mv node_modules ./frontend
WORKDIR /frontend

Loading…
Cancel
Save