Skip to content

Commit 4bb899a

Browse files
author
Fly.io CI
committed
Update image settings for push to flyio
1 parent 5f49e43 commit 4bb899a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ check-envtest: get-pgmonitor get-external-snapshotter
215215
$(GO_TEST) -count=1 -cover -tags=envtest ./...
216216

217217
# The "PGO_TEST_TIMEOUT_SCALE" environment variable (default: 1) can be set to a
218-
# positive number that extends test timeouts. The following runs tests with
218+
# positive number that extends test timeouts. The following runs tests with
219219
# timeouts that are 20% longer than normal:
220220
# make check-envtest-existing PGO_TEST_TIMEOUT_SCALE=1.2
221221
.PHONY: check-envtest-existing
@@ -377,9 +377,8 @@ release-postgres-operator-image-labels:
377377

378378
# Default values if not already set
379379
NAME ?= percona-postgresql-operator
380-
VERSION ?= $(shell git rev-parse --abbrev-ref HEAD | sed -e 's^/^-^g; s^[.]^-^g;' | tr '[:upper:]' '[:lower:]')
381-
ROOT_REPO ?= ${PWD}
382-
IMAGE_TAG_BASE ?= perconalab/$(NAME)
380+
VERSION ?= $(shell git describe --dirty --always | sed -e 's^/^-^g; s^[.]^-^g;' | tr '[:upper:]' '[:lower:]')ROOT_REPO ?= ${PWD}
381+
IMAGE_TAG_BASE ?= flyio/$(NAME)
383382
IMAGE ?= $(IMAGE_TAG_BASE):$(VERSION)
384383
PGO_VERSION ?= $(shell git describe --tags)
385384

0 commit comments

Comments
 (0)