Skip to content

Merge branch 'remove-flyio' #36

Merge branch 'remove-flyio'

Merge branch 'remove-flyio' #36

# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action
# More GitHub Actions for Azure: https://github.com/Azure/actions
name: Calc Odds Api - build latest
on:
push:
branches:
- "main"
paths:
- 'src/calc-odds-api/**'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- 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 }}/ppo-calc-odds:latest, ${{ secrets.REPOSITORY_NAME }}/ppo-calc-odds:${{ github.sha }}
context: ./src/calc-odds-api