Merge branch 'main' of https://gitea.cognizata.com/Atapy/sorvor-front into main
Some checks failed
frontend-action / build-image (push) Failing after 12s

This commit is contained in:
2024-04-22 00:23:50 +07:00

View File

@@ -0,0 +1,27 @@
name: frontend-action
run-name: ${{ gitea.actor }} is building frontend docker image 🚀
on: [push]
jobs:
build-image:
runs-on: ubuntu-20.04
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: gitea.cognizata.com
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64
tags: gitea.cognizata.com/atapy/sorvor-front:latest
target: app
build-args: |
VUE_APP_API_URL=https://sxovinternal.cognizata.com/api
- run: echo "🍏 This job's status is ${{ job.status }}."