From 53c8c25da3089da1a2ee3e38f58e44fe220d0431 Mon Sep 17 00:00:00 2001 From: geleeroyale Date: Wed, 21 Jun 2023 22:30:25 +0200 Subject: [PATCH] Update CI-CD.yml add support for arm64 and update to the latest version of docker/build-push-action --- .github/workflows/CI-CD.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI-CD.yml b/.github/workflows/CI-CD.yml index 99e91d1..1470cf3 100644 --- a/.github/workflows/CI-CD.yml +++ b/.github/workflows/CI-CD.yml @@ -9,12 +9,13 @@ jobs: - name: Check out the repo uses: actions/checkout@v2 - name: Build image and push to GitHub Packages - uses: docker/build-push-action@v1 + uses: docker/build-push-action@v4 with: username: ${{ github.actor }} password: ${{ github.token }} registry: ghcr.io repository: giveth/postgres-givethio + platforms: linux/amd64,linux/arm64 add_git_labels: true # Add branch name to docker image tag @see{@link https://github.com/docker/build-push-action/tree/releases/v1#tag_with_ref} tag_with_ref: true