Skip to content

Commit

Permalink
Use imagetools to create and push manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-at-luther committed May 2, 2023
1 parent 30af2b0 commit 240099b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions images/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,11 @@ $(call DUMMY_TARGET,deps,luthersystems/build-go-alpine):
@

$(call PUSH_DUMMY,luthersystems/%):
${DOCKER} manifest create \
luthersystems/$*:latest \
${DOCKER} buildx imagetools create \
--tag luthersystems/$*:latest \
luthersystems/$*:${VERSION}-arm64 \
luthersystems/$*:${VERSION}-amd64
${DOCKER} manifest push luthersystems/$*:latest
${DOCKER} manifest create \
luthersystems/$*:${VERSION} \
${DOCKER} buildx imagetools create \
--tag luthersystems/$*:${VERSION} \
luthersystems/$*:${VERSION}-arm64 \
luthersystems/$*:${VERSION}-amd64
${DOCKER} manifest push luthersystems/$*:${VERSION}

0 comments on commit 240099b

Please sign in to comment.