CI Setup #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |