Skip to content

Commit

Permalink
fixup some dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Jan 3, 2025
1 parent 9f8160a commit 94e2fa8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push to github container registry
if: ${{ success() && steps.login.conclusion != 'skipped' }}
run: "make push_${{ matrix.img }}"
run: "make tag_latest_${{ matrix.img }} push_${{ matrix.img }}"
env:
BUILD_AMD64: ${{ fromJSON('[0, 1]')[matrix.arch.name == 'amd64'] }}
BUILD_ARM64: ${{ fromJSON('[0, 1]')[matrix.arch.name == 'arm64'] }}
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -146,15 +146,19 @@ endif

push: $(foreach image, $(ALL_IMAGES), push_${image})

push_%: tag_latest_%
push_%: FORCE
ifeq ($(_build_amd64),1)
docker push $(NAME)-$*:latest-amd64
ifneq ($*,base)
docker push $(NAME)-$*:$(VERSION)-amd64
endif
endif
ifeq ($(_build_arm64),1)
docker push $(NAME)-$*:latest-arm64
ifneq ($*,base)
docker push $(NAME)-$*:$(VERSION)-arm64
endif
endif

release: $(foreach image, $(ALL_IMAGES), release_${image})
test -z "$$(git status --porcelain)" || git commit -am "$(VERSION)" && git tag "rel-$(VERSION)" && git push origin "rel-$(VERSION)"
Expand Down

0 comments on commit 94e2fa8

Please sign in to comment.