Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 3m7s
30 lines
665 B
YAML
30 lines
665 B
YAML
name: Build and Push Docker Image
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
build-and-push:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Log in to Gitea Container Registry
|
|
uses: docker/login-action@v2
|
|
with:
|
|
registry: git.savethenurse.com
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITEA_TOKEN }}
|
|
|
|
- name: Build and push container image
|
|
uses: docker/build-push-action@v4
|
|
with:
|
|
context: .
|
|
push: true
|
|
tags: git.savethenurse.com/savethenurse/ai-media-hub:latest
|