Files
locust-operator/.github/workflows/build.yaml
Chris Richardson 5f2f26a83a
All checks were successful
Lint / Run on Ubuntu (push) Successful in 1m47s
Tests / Run on Ubuntu (push) Successful in 2m58s
comment out
2025-07-02 22:30:38 -04:00

28 lines
716 B
YAML

name: Build images
on:
workflow_run:
workflows: ["Lint", "Tests"]
types:
- completed
#make docker-build docker-push IMG=example/virtualhost-operator:latest
jobs:
build-docker:
name: Build docker image
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-20.04
steps:
- name: Clone the code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: build image
run: |
make docker-build docker-push IMG=d.lilpenguins.com/locust-operator:latest
make docker-build docker-push IMG=d.lilpenguins.com/locust-operator:${{gitea.sha}}