Skip to content

Commit

Permalink
print envs
Browse files Browse the repository at this point in the history
  • Loading branch information
mgfritch committed Dec 4, 2024
1 parent 5ac0782 commit 6762dc7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ jobs:
run: |
echo "$(make -s log | grep TAG)" >> "$GITHUB_ENV"
echo "$(make -s log | grep ARCH)" >> "$GITHUB_ENV"
echo "$([ -z $REGISTRY_IMAGE ] && make -s log | grep REGISTRY_IMAGE)" >> "$GITHUB_ENV"
- name: Print ENV values
id: print_Envs
run: |
echo "$GITHUB_ENV"
echo "$GITHUB_CONTEXT"
echo "$REGISTRY_IMAGE"
- name: Docker meta
id: meta-amd64
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ log:
@echo "ARCH=$(ARCH)"
@echo "TAG=$(TAG:$(BUILD_META)=)"
@echo "REPO=$(REPO)"
@echo "REGISTRY_IMAGE=$(REGISTRY_IMAGE)"
@echo "PKG=$(PKG)"
@echo "SRC=$(SRC)"
@echo "BUILD_META=$(BUILD_META)"
Expand Down

0 comments on commit 6762dc7

Please sign in to comment.