Skip to content

Create FUNDING.yml

Create FUNDING.yml #4

Workflow file for this run

name: Build and Push Docker Image
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image (multi-arch)
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: jkfran/azure-openai-mock-api:latest
platforms: linux/amd64,linux/arm64
- name: Build and push Docker image (with version tag)
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: jkfran/azure-openai-mock-api:v1.0
platforms: linux/amd64,linux/arm64