Skip to content

Commit

Permalink
build: update Docker tags for architecture support
Browse files Browse the repository at this point in the history
Update image tags in the GitHub Actions workflow to 
include architecture-specific suffixes for arm64 and amd64. 
This change ensures that the images are correctly tagged and 
pushed for each architecture, improving clarity and 
compatibility in multi-architecture deployments.
  • Loading branch information
matusso committed Feb 4, 2025
1 parent 143b868 commit 116aec7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/kiterunner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: |
docker build --platform linux/amd64 \
--build-arg "KR_DIR=${{ env.KR_DIR }}" --build-arg "RELEASE_VERSION=${{ env.RELEASE_VERSION }}" \
--tag ghcr.io/${{ github.repository_owner }}/kiterunner:${{ env.RELEASE_VERSION }} \
--tag ghcr.io/${{ github.repository_owner }}/kiterunner:${{ env.RELEASE_VERSION }}-amd64 \
--tag ghcr.io/${{ github.repository_owner }}/kiterunner:latest-amd64 ./files/kiterunner
docker push ghcr.io/${{ github.repository_owner }}/kiterunner:${{ env.RELEASE_VERSION }}-amd64
docker push ghcr.io/${{ github.repository_owner }}/kiterunner:latest-amd64
Expand All @@ -68,7 +68,7 @@ jobs:
run: |
docker build --platform linux/arm64 \
--build-arg "KR_DIR=${{ env.KR_DIR }}" --build-arg "RELEASE_VERSION=${{ env.RELEASE_VERSION }}" \
--tag ghcr.io/${{ github.repository_owner }}/kiterunner:${{ env.RELEASE_VERSION }} \
--tag ghcr.io/${{ github.repository_owner }}/kiterunner:${{ env.RELEASE_VERSION }}-arm64 \
--tag ghcr.io/${{ github.repository_owner }}/kiterunner:latest-arm64 ./files/kiterunner
docker push ghcr.io/${{ github.repository_owner }}/kiterunner:${{ env.RELEASE_VERSION }}-arm64
docker push ghcr.io/${{ github.repository_owner }}/kiterunner:latest-arm64
Expand Down

0 comments on commit 116aec7

Please sign in to comment.