mirror of
https://github.com/fosrl/olm.git
synced 2026-02-07 21:46:40 +00:00
fix(ci): add back missing docker build local image rule
Former-commit-id: 6d2afb4c72
This commit is contained in:
committed by
Owen Schwartz
parent
88cc57bcef
commit
148f5fde23
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -22,4 +22,4 @@ jobs:
|
|||||||
run: make go-build-release
|
run: make go-build-release
|
||||||
|
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
run: make docker-build-release
|
run: make docker-build
|
||||||
|
|||||||
3
Makefile
3
Makefile
@@ -5,6 +5,9 @@ all: local
|
|||||||
local:
|
local:
|
||||||
CGO_ENABLED=0 go build -o ./bin/olm
|
CGO_ENABLED=0 go build -o ./bin/olm
|
||||||
|
|
||||||
|
docker-build:
|
||||||
|
docker build -t fosrl/olm:latest .
|
||||||
|
|
||||||
docker-build-release:
|
docker-build-release:
|
||||||
@if [ -z "$(tag)" ]; then \
|
@if [ -z "$(tag)" ]; then \
|
||||||
echo "Error: tag is required. Usage: make docker-build-release tag=<tag>"; \
|
echo "Error: tag is required. Usage: make docker-build-release tag=<tag>"; \
|
||||||
|
|||||||
Reference in New Issue
Block a user