migrate build and push workflow to new location
Some checks failed
Build and Push to Private Registry / build (push) Failing after 2m40s

This commit is contained in:
stephen schuresko
2025-02-16 16:35:05 -05:00
parent 1bd77ecae4
commit cc37256fb1

View File

@@ -0,0 +1,26 @@
# .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