Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

feat(docker): :zap: add arm64 support

Amruth Pillai22b91d3f9436
diff --git a/.github/workflows/docker-build-push.yml b/.github/workflows/docker-build-push.yml
index 1ffbd75fc..8175e3844 100644
--- a/.github/workflows/docker-build-push.yml
+++ b/.github/workflows/docker-build-push.yml
@@ -23,6 +23,15 @@ jobs:
name: Get Version
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
+ - name: Set up QEMU
+ uses: docker/[email protected]
+
+ - id: buildx
+ name: Set up Docker Buildx
+ uses: docker/[email protected]
+ with:
+ install: true
+
- name: Login to Docker Hub
uses: docker/[email protected]
with:
@@ -42,6 +51,7 @@ jobs:
context: .
push: true
file: client/Dockerfile
+ platforms: linux/amd64,linux/arm64
tags: |
amruthpillai/reactive-resume:client-latest
amruthpillai/reactive-resume:client-${{ steps.version.outputs.tag }}
@@ -66,6 +76,15 @@ jobs:
name: Get Version
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
+ - name: Set up QEMU
+ uses: docker/[email protected]
+
+ - id: buildx
+ name: Set up Docker Buildx
+ uses: docker/[email protected]
+ with:
+ install: true
+
- name: Login to Docker Hub
uses: docker/[email protected]
with:
@@ -85,6 +104,7 @@ jobs:
context: .
push: true
file: server/Dockerfile
+ platforms: linux/amd64,linux/arm64
tags: |
amruthpillai/reactive-resume:server-latest
amruthpillai/reactive-resume:server-${{ steps.version.outputs.tag }}
diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml
index e70769c22..1b56df079 100644
--- a/.github/workflows/docker-build.yml
+++ b/.github/workflows/docker-build.yml
@@ -17,10 +17,6 @@ jobs:
with:
fetch-depth: 2
- - id: vars
- name: Get Short SHA
- run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
-
- name: Set up QEMU
uses: docker/[email protected]
@@ -30,9 +26,9 @@ jobs:
with:
install: true
- - id: version
- name: Get Version
- run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
+ - id: variables
+ name: Get Short SHA
+ run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- name: Build Client Image
uses: docker/[email protected]
@@ -43,9 +39,9 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: |
amruthpillai/reactive-resume:client-latest
- amruthpillai/reactive-resume:client-${{ steps.vars.outputs.sha_short }}
+ amruthpillai/reactive-resume:client-${{ steps.variables.outputs.sha_short }}
ghcr.io/amruthpillai/reactive-resume:client-latest
- ghcr.io/amruthpillai/reactive-resume:client-${{ steps.vars.outputs.sha_short }}
+ ghcr.io/amruthpillai/reactive-resume:client-${{ steps.variables.outputs.sha_short }}
server:
name: Server
@@ -70,9 +66,9 @@ jobs:
with:
install: true
- - id: version
- name: Get Version
- run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
+ - id: variables
+ name: Get Short SHA
+ run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- name: Build Server Image
uses: docker/[email protected]
@@ -83,6 +79,6 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: |
amruthpillai/reactive-resume:server-latest
- amruthpillai/reactive-resume:server-${{ steps.vars.outputs.sha_short }}
+ amruthpillai/reactive-resume:server-${{ steps.variables.outputs.sha_short }}
ghcr.io/amruthpillai/reactive-resume:server-latest
- ghcr.io/amruthpillai/reactive-resume:server-${{ steps.vars.outputs.sha_short }}
+ ghcr.io/amruthpillai/reactive-resume:server-${{ steps.variables.outputs.sha_short }}