Skip to content

remove flyio

remove flyio #38

Workflow file for this run

name: Api
on:
push:
branches:
- "main"
paths:
- "api/**"
workflow_dispatch:
jobs:
test:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- name: Test api
working-directory: ./api
run: make test
build:
runs-on: "ubuntu-latest"
needs: test
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ secrets.CONTAINER_USERNAME }}
password: ${{ secrets.CONTAINER_PASSWORD }}
- name: Build and push container image to registry
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ secrets.REPOSITORY_NAME }}/planning-poker-api:${{ github.sha }},${{ secrets.REPOSITORY_NAME }}/planning-poker-api:latest,
context: ./api