File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -191,8 +191,20 @@ jobs:
191191 - name : Check out code
192192 uses : actions/checkout@v4
193193
194- - name : Docker
195- run : make docker
194+ - name : Extract VERSION from Makefile
195+ id : get_version
196+ run : |
197+ VERSION=$(make --no-print-directory get-version)
198+ echo "version=$VERSION" >> $GITHUB_OUTPUT
199+
200+ - name : Build ARM64 and AMD64 Docker images
201+ uses : docker/build-push-action@v5
202+ with :
203+ context : .
204+ file : ./Dockerfile
205+ platforms : linux/arm64,linux/amd64
206+ push : false
207+ tags : moov/ach:${{ steps.get_version.outputs.version }},moov/ach:latest
196208
197209 - name : Docker Push
198210 run : |+
Original file line number Diff line number Diff line change @@ -104,3 +104,6 @@ cover-test:
104104 go test -coverprofile=cover.out ./...
105105cover-web :
106106 go tool cover -html=cover.out
107+
108+ get-version :
109+ @echo $(VERSION )
You can’t perform that action at this time.
0 commit comments