24 lines
540 B
YAML
24 lines
540 B
YAML
name: build_develop
|
|
|
|
on: [push]
|
|
# commenting out develop push while testing workflow
|
|
# push:
|
|
# branches: [develop]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v2
|
|
- name: Build and push to viker registry
|
|
uses: docker/build-push-action@v4
|
|
with:
|
|
context: .
|
|
push: true
|
|
tags: localhost:5000/agon:develop
|