Skip to content

Commit

Permalink
Don't build matrix invite for arm
Browse files Browse the repository at this point in the history
  • Loading branch information
guimard committed Jul 18, 2024
1 parent da06543 commit 30c9591
Showing 1 changed file with 8 additions and 21 deletions.
29 changes: 8 additions & 21 deletions .github/workflows/publish-matrix-invite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,14 @@ jobs:
files: |
packages/matrix-invite/**/*
.github/workflows/**
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
- name: Publish to dockerhub
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: linagora/matrix-invite
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: linagora/matrix-invite
- name: Publish to dockerhub
uses: docker/build-push-action@v4
with:
context: ./packages/matrix-invite
file: Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: |
linagora/matrix-invite:latest
linagora/matrix-invite:${{ steps.date.outputs.date }}
workdir: "${{ github.workspace }}/packages/matrix-invite"
context: .
buildoptions: "-t linagora/matrix-invite -f Dockerfile"
tags: "latest,${{ steps.date.outputs.date }}"

0 comments on commit 30c9591

Please sign in to comment.