Archived
Private
Public Access
1
0

updated build action

This commit is contained in:
2023-05-22 09:57:56 +02:00
parent 1b2537ca39
commit 70d4985308
2 changed files with 30 additions and 74 deletions

View File

@@ -0,0 +1,30 @@
name: build
env:
DOCKER_IMAGE: git.leon-hoppe.de/leon.hoppe/betteriserv
on:
push:
branches: main
jobs:
frontend:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to Repo
uses: docker/login-action@v2
with:
registry: git.leon-hoppe.de
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build docker image
run: docker build -t ${{ env.DOCKER_IMAGE }}-frontend:latest BetterIServ.Mobile/
- name: Push docker image
run: docker push ${{ env.DOCKER_IMAGE }}-frontend:latest