Skip to content

Commit

Permalink
Build arm64 (aarch64) and x86_64 (amd64) containers.
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaliyf committed Feb 3, 2024
1 parent 9650294 commit 9d5d26f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build
run: make docker_build
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ PACKR_VERSION := $(shell awk '/packr/ {sub(/^[ \t]+/,""); print $$2}' go.mod)
DOCKERFILE := Dockerfile
DOCKER_REPOSITORY := quay.io/fydrah/loginapp
DOCKER_BIN := $(shell which docker || which podman || echo "docker")
DOCKER_BUILD := $(DOCKER_BIN) build -f $(DOCKERFILE) .
DOCKER_BUILD := $(DOCKER_BIN) buildx build --platform linux/amd64,linux/arm64 -f $(DOCKERFILE) .

# Helm
HELM_LOGINAPP_REPO := https://storage.googleapis.com/loginapp-releases/charts
Expand Down

0 comments on commit 9d5d26f

Please sign in to comment.