Skip to content

chore: bump version to 1.1.0-alpha (#1330) #6092

chore: bump version to 1.1.0-alpha (#1330)

chore: bump version to 1.1.0-alpha (#1330) #6092

Workflow file for this run

on:
push:
branches:
- '*'
tags:
- '*'
name: Build / Release Docker Images
jobs:
build-and-push:
runs-on: ubuntu-22.04
strategy:
matrix:
package: [auth, backend, frontend]
push:
- ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
steps:
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/${{ github.repository_owner }}/rafiki-${{ matrix.package }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GHCR
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
file: packages/${{ matrix.package }}/Dockerfile
platforms: linux/amd64,linux/arm64
cache-from: type=gha
cache-to: type=gha,mode=max