You've already forked reloading-manager
Inside we both know what's been going on
This commit is contained in:
@@ -3,42 +3,42 @@ on:
|
||||
tags:
|
||||
- '**'
|
||||
|
||||
name: Build
|
||||
name: 🏗️✨ Build Workflow
|
||||
|
||||
jobs:
|
||||
BuildFrontend:
|
||||
name: 🔨 Build Frontend
|
||||
name: 🖼️🔨 Build Frontend
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: 🛡 Add Siteworx CA
|
||||
- name: 🛡️🔒 Add Siteworx CA Certificates
|
||||
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
|
||||
- name: 📖🔍 Checkout Repository Code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: 🔑 Login to Docker Hub
|
||||
- name: 🔑🔐 Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: 🔑 Login to Siteworx Registry
|
||||
- name: 🔑🛠️ Login to Siteworx Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ vars.SITEWORX_USERNAME }}
|
||||
password: ${{ secrets.SITEWORX_PASSWORD }}
|
||||
registry: scr.siteworxpro.com
|
||||
|
||||
- name: ⚙️ Set up QEMU
|
||||
- name: ⚙️🛠️ Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: 🐳 Build Container
|
||||
- name: 🐳🔨 Build Frontend Container
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./frontend
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
tags: scr.siteworxpro.com/reloading-manager/frontend:${{ gitea.ref_name }}
|
||||
push: true
|
||||
|
||||
- name: 📦 Build Latest Container
|
||||
- name: 📦✨ Build Latest Frontend Container
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./frontend
|
||||
@@ -57,41 +57,41 @@ jobs:
|
||||
push: true
|
||||
|
||||
BuildBackend:
|
||||
name: 🔨 Build Backend
|
||||
name: 🖥️🔨 Build Backend
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: 🛡 Add Siteworx CA
|
||||
- name: 🛡️🔒 Add Siteworx CA Certificates
|
||||
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
|
||||
- name: 📖🔍 Checkout Repository Code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: 🔑 Login to Docker Hub
|
||||
- name: 🔑🔐 Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: 🔑 Login to Siteworx Registry
|
||||
- name: 🔑🛠️ Login to Siteworx Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ vars.SITEWORX_USERNAME }}
|
||||
password: ${{ secrets.SITEWORX_PASSWORD }}
|
||||
registry: scr.siteworxpro.com
|
||||
|
||||
- name: ⚙️ Set up QEMU
|
||||
- name: ⚙️🛠️ Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: 🏗️ Set up Docker Buildx
|
||||
- name: 🏗️🔧 Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: 🐳 Build Container
|
||||
- name: 🐳🔨 Build Backend Container
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./backend
|
||||
@@ -100,11 +100,11 @@ jobs:
|
||||
tags: scr.siteworxpro.com/reloading-manager/backend:${{ gitea.ref_name }}
|
||||
push: true
|
||||
|
||||
- name: 📦 Build Latest Container
|
||||
- name: 📦✨ Build Latest Backend Container
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./backend
|
||||
file: ./backend/Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: scr.siteworxpro.com/reloading-manager/backend:latest
|
||||
push: true
|
||||
push: true
|
||||
Reference in New Issue
Block a user