This repository has been archived on 2025-08-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
web-app-template/.gitea/workflows/build.yaml
2024-07-31 22:50:55 +02:00

22 lines
576 B
YAML

name: Build Docker Image
on:
push:
branches:
- '**' # matches every branch
- '!master'
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- run: docker build api/ -t api-test
- run: docker rmi api-test
- run: |
docker build \
--build-arg="PUBLIC_BASE_API_URL=${{ vars.PUBLIC_BASE_API_URL }}" \
-t view-test \
view/
- run: docker rmi view-test