Archived
Private
Public Access
1
0

added backend build action

This commit is contained in:
2023-05-22 10:02:28 +02:00
parent 70d4985308
commit 0454e3e570
2 changed files with 34 additions and 4 deletions

View File

@@ -1,14 +1,14 @@
name: build
env:
DOCKER_IMAGE: git.leon-hoppe.de/leon.hoppe/betteriserv
DOCKER_IMAGE: git.leon-hoppe.de/leon.hoppe/betteriserv-frontend:latest
on:
push:
branches: main
jobs:
frontend:
build-frontend:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
@@ -24,7 +24,7 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build docker image
run: docker build -t ${{ env.DOCKER_IMAGE }}-frontend:latest BetterIServ.Mobile/
run: docker build -t ${{ env.DOCKER_IMAGE }} BetterIServ.Mobile/
- name: Push docker image
run: docker push ${{ env.DOCKER_IMAGE }}-frontend:latest
run: docker push ${{ env.DOCKER_IMAGE }}