Skip to content

Commit

Permalink
add support for arm64 platform
Browse files Browse the repository at this point in the history
  • Loading branch information
xcompass committed Nov 27, 2024
1 parent b2f0f44 commit e45986f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,21 @@ jobs:

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Set tag
id: tag
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}

- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
context: ./
file: ./Dockerfile
push: true
tags: lthub/moodle:${{ steps.tag.outputs.tag }}

- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
run: echo ${{ steps.docker_build.outputs.digest }}

0 comments on commit e45986f

Please sign in to comment.