Skip to content

Commit

Permalink
remove arm64 from build targets in pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptaliagy committed Jul 27, 2023
1 parent 76a518c commit 6bb7c07
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ jobs:
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
push: false
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest,${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}

Expand Down
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ FROM rust:1.71.0 as builder

# Install the targets
RUN rustup target add $(arch)-unknown-linux-musl && \
dpkg --add-architecture $(arch) && \
apt update && \
apt install -y musl-tools:$(arch) musl-dev:$(arch)

Expand Down
2 changes: 2 additions & 0 deletions docs/Installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ Support for this installation method is only provided for the following targets:

## Installation - Docker (Advanced)

> Only `amd64` platforms are currently supported for Docker. See [this issue](https://github.com/cryptaliagy/pixy/issues/9)
1. Write a configuration file `pixy.yaml` and save it to your current directory. See the [example configs](/example-configs/) directory to get started, or the section on [writing a `pixy.yaml` file](#writing-a-pixyyaml-file)
1. Pull the Docker container with `docker pull ghcr.io/cryptaliagy/pixy:latest`
1. Run the Docker container with `docker run -v ./pixy.yaml:/pixy.yaml -p 8080:8080 ghcr.io/cryptaliagy/pixy:latest`

0 comments on commit 6bb7c07

Please sign in to comment.