Files
papi-py/.gitea/workflows/build-and-push.yaml
stephen schuresko cc37256fb1
Some checks failed
Build and Push to Private Registry / build (push) Failing after 2m40s
migrate build and push workflow to new location
2025-02-16 16:35:05 -05:00

27 lines
526 B
YAML

# .gitea/actions/build-and-push.yaml
name: Build and Push to Private Registry
on:
push:
branches:
- master
- dev
- qa
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker login kube-reg.fairfaxmedia.net # Login to private registry
- run: docker build -t kube-reg.fairfaxmedia.net/papi/svc1:${CI_BRANCH} . # Build the Docker image
- run: docker push kube-reg.fairfaxmedia.net/papi/svc1:${CI_BRANCH} # Push the Docker image