Skip to content

Modified gh actions, deployment.yaml #3

Modified gh actions, deployment.yaml

Modified gh actions, deployment.yaml #3

Workflow file for this run

name: Build Docker Image
on:
push:
# branches: [ main ]
tags:
# Only run workflow on tags that match the pattern
- 'v*' # Push events to matching v*, like v1.0, v20.15.10
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ghcr.io/${{ github.repository_owner }}/its-ai-scribe:latest