Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
mgfritch committed Dec 11, 2024
1 parent 4d268d0 commit aa997f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,11 @@ jobs:
tag: ${{ github.event.release.tag_name }}
platforms: linux/amd64

push-to-public: false
public-repo: mgfritch
public-registry: ${{ env.PUBLIC_REGISTRY }}
public-username: ${{ env.DOCKER_USERNAME }}
public-password: ${{ secrets.DOCKER_PASSWORD }}

push-to-prime: true
prime-repo: mgfritch
prime-registry: ${{ env.PRIME_REGISTRY }}
prime-username: ${{ env.PRIME_REGISTRY_USERNAME }}
Expand Down
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ IMAGE_NAME = hardened-calico
REGISTRY_IMAGE = $(REPO)/$(IMAGE_NAME)
IMAGE = $(REGISTRY_IMAGE):$(TAG)

METADATA_DIR = /tmp/$(IMAGE_NAME)
METADATA_FILE = $(METADATA_DIR)/metadata-$(subst /,-,$(REGISTRY_IMAGE)).json
METADATA_DIR ?= /tmp
METADATA_FILE ?= $(METADATA_DIR)/metadata-$(subst /,-,$(REGISTRY_IMAGE)).json
mkdir -p $(METADATA_DIR)

LABEL_ARGS = $(foreach label,$(META_LABELS),--label $(label))

ifeq (,$(filter %$(BUILD_META),$(TAG)))
Expand Down

0 comments on commit aa997f5

Please sign in to comment.