Commit 5526214 1 parent 96e3f25 commit 5526214 Copy full SHA for 5526214
File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 16
16
uses : docker/setup-buildx-action@v1
17
17
18
18
- name : Build EIF
19
- run : make VERSION=${{ github.sha }} eif
19
+ run : make VERSION=${{ github.sha }} OUTDIR=${{ github.workspace }}/out eif
20
+
21
+ - name : Upload EIF
22
+ uses : actions/upload-artifact@v4
23
+ with :
24
+ path : out/waas-auth.${{ github.sha }}.eif
25
+ if-no-files-found : error
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ CONFIG ?= $(TOP)/etc/waas-auth.conf
2
2
ENV ?= prod
3
3
4
4
TOP := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST ) ) ) )
5
+ OUTDIR ?= $(TOP ) /bin
5
6
SHELL = bash -o pipefail
6
7
TEST_FLAGS ?= -v
7
8
@@ -59,7 +60,7 @@ test-clean:
59
60
eif : clean ensure-version
60
61
mkdir -p bin
61
62
docker build --platform linux/amd64 --build-arg VERSION=$(VERSION ) --build-arg ENV_ARG=$(ENV ) -t waas-authenticator-builder .
62
- docker run --platform linux/amd64 -v $(TOP ) /bin :/out waas-authenticator-builder waas-auth.$(VERSION )
63
+ docker run --platform linux/amd64 -v $(OUTDIR ) :/out waas-authenticator-builder waas-auth.$(VERSION )
63
64
64
65
ensure-version :
65
66
test -n " $( VERSION) "
You can’t perform that action at this time.
0 commit comments