26 lines
598 B
YAML
26 lines
598 B
YAML
name: Build images
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
#make docker-build docker-push IMG=example/virtualhost-operator:latest
|
|
jobs:
|
|
build-docker:
|
|
name: Build docker image
|
|
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}}
|