Files
reloading-manager/.gitea/workflows/build.yml

29 lines
710 B
YAML

on:
push:
branches:
- master
name: Build
jobs:
BuildBackend:
name: Build Backend
runs-on: ubuntu-latest
steps:
- name: Add Siteworx CA
run: |
apt update && apt install -yq ca-certificates curl
curl -Ls https://siteworxpro.com/hosted/Siteworx+Root+CA.pem -o /usr/local/share/ca-certificates/sw.crt
update-ca-certificates
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Build Container
uses: docker/build-push-action@v2
with:
context: ./backend
file: ./backend/Dockerfile
push: false
tags: siteworxpro/backend:latest