Skip to content

CI Setup

CI Setup #3

Workflow file for this run

name: Docker Image Builds
on:
workflow_dispatch:
pull_request:
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up docker buildx
uses: docker/setup-buildx-action@v3
- name: Build Development Image
run: docker compose build app
- name: Build Cross-Platform Production Images
run: |
docker buildx build --platform linux/arm64,linux/amd64 -t glossawy/rss-feed-editor:verify -f Dockerfile.frontend . --load
docker buildx build --platform linux/arm64,linux/amd64 -t glossawy/rss-feed-editor-frontend:verify -f Dockerfile.frontend . --load