-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert to debian images but include uvloop and armv7
- Loading branch information
1 parent
037b0d1
commit b6f7dd8
Showing
8 changed files
with
80 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,16 +81,14 @@ jobs: | |
id: meta | ||
uses: docker/metadata-action@v4 | ||
with: | ||
# list of Docker images to use as base name for tags | ||
images: | | ||
ghcr.io/music-assistant/server | ||
# we use 3 different jobs here due so we can pass the correct BUILD_ARCH | ||
- name: Build and Push amd64 | ||
- name: Build and Push images | ||
uses: docker/[email protected] | ||
with: | ||
context: . | ||
platforms: linux/amd64 | ||
platforms: linux/amd64,linux/arm64,linux/arm/v7 | ||
file: Dockerfile | ||
tags: |- | ||
ghcr.io/${{ github.repository_owner }}/server:${{ steps.tags.outputs.patch }}, | ||
|
@@ -102,38 +100,4 @@ jobs: | |
labels: ${{ steps.meta.outputs.labels }} | ||
build-args: | | ||
"MASS_VERSION=${{ needs.build-and-publish-pypi.outputs.version }}" | ||
"BUILD_ARCH=amd64" | ||
- name: Build and Push arm64 | ||
uses: docker/[email protected] | ||
with: | ||
context: . | ||
platforms: linux/arm64 | ||
file: Dockerfile | ||
tags: |- | ||
ghcr.io/${{ github.repository_owner }}/server:${{ steps.tags.outputs.patch }}, | ||
ghcr.io/${{ github.repository_owner }}/server:${{ steps.tags.outputs.minor }}, | ||
ghcr.io/${{ github.repository_owner }}/server:${{ steps.tags.outputs.major }}, | ||
ghcr.io/${{ github.repository_owner }}/server:${{ steps.tags.outputs.channel }}, | ||
ghcr.io/${{ github.repository_owner }}/server:latest | ||
push: true | ||
labels: ${{ steps.meta.outputs.labels }} | ||
build-args: | | ||
"MASS_VERSION=${{ needs.build-and-publish-pypi.outputs.version }}" | ||
"BUILD_ARCH=aarch64" | ||
- name: Build and Push armv7 | ||
uses: docker/[email protected] | ||
with: | ||
context: . | ||
platforms: linux/arm/v7 | ||
file: Dockerfile | ||
tags: |- | ||
ghcr.io/${{ github.repository_owner }}/server:${{ steps.tags.outputs.patch }}, | ||
ghcr.io/${{ github.repository_owner }}/server:${{ steps.tags.outputs.minor }}, | ||
ghcr.io/${{ github.repository_owner }}/server:${{ steps.tags.outputs.major }}, | ||
ghcr.io/${{ github.repository_owner }}/server:${{ steps.tags.outputs.channel }}, | ||
ghcr.io/${{ github.repository_owner }}/server:latest | ||
push: true | ||
labels: ${{ steps.meta.outputs.labels }} | ||
build-args: | | ||
"MASS_VERSION=${{ needs.build-and-publish-pypi.outputs.version }}" | ||
"BUILD_ARCH=armv7" | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.