Files
locust-operator/.github/workflows/build.yaml
Chris Richardson 7ad0565f7e
Some checks failed
Tests / Run on Ubuntu (push) Successful in 1m23s
Lint / Run on Ubuntu (push) Failing after 2m34s
comment out
2025-07-02 15:59:38 -04:00

28 lines
698 B
YAML

name: Build images
on:
workflow_run:
workflows: ["Lint", "Tests", "E2E Tests"]
types:
- completed
#make docker-build docker-push IMG=example/virtualhost-operator:latest
jobs:
build-docker:
name: Build docker image
runs-on: ubuntu-20.04
needs: [lint, test, test-e2e]
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}}