Skip to content

Add raw field variants to objekt category output #52

Add raw field variants to objekt category output

Add raw field variants to objekt category output #52

Workflow file for this run

name: backend
on:
workflow_dispatch:
push:
paths:
- 'backend/**'
branches:
- main
- stable
defaults:
run:
working-directory: backend
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}-backend
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Log in to the Container registry
uses: docker/login-action@v1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: "backend"
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref == 'refs/heads/stable' && 'stable' || 'latest' }}
labels: ${{ steps.meta.outputs.labels }}