Skip to content

Commit

Permalink
Add get-image-config make target
Browse files Browse the repository at this point in the history
  • Loading branch information
graveland committed Feb 7, 2023
1 parent 1cf54a4 commit 5e9f618
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish_images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,4 @@ jobs:
env:
PG_MAJOR: ${{ matrix.pg_major }}
DOCKER_TAG_POSTFIX: ${{ matrix.docker_tag_postfix }}
run: make check
run: make get-image-config check
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ ifeq ($(USE_DOCKER_CACHE),false)
builder: prune
endif

.PHONY: get-image-config
get-image-config:
docker run --pull always --platform "linux/$(PLATFORM)" --rm $(DOCKER_RELEASE_URL) cat /.image_config

.PHONY: builder
builder: # build the `builder` target image
builder: DOCKER_EXTRA_BUILDARGS=--target builder
Expand Down

0 comments on commit 5e9f618

Please sign in to comment.