Skip to content

Commit

Permalink
releasing container images only for linux/amd64 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
rdev2021 committed May 13, 2024
1 parent 000f7d0 commit 0772162
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-ghcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ jobs:
- name: Build & Push image
run: |
docker login --username rdev2021 --password ${{ secrets.GH_PAT }} ghcr.io
docker build . --tag ghcr.io/rdev2021/network-test:latest
docker push ghcr.io/rdev2021/network-test:latest
docker build . --platform linux/amd64 --tag ghcr.io/rdev2021/network-test:latest
docker push ghcr.io/rdev2021/network-test:latest
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY pkg/ ./pkg/
COPY ui/ ./ui/
RUN go build -o /network-test

FROM gcr.io/distroless/base-debian11:nonroot-arm64 AS build-release-stage
FROM gcr.io/distroless/base-debian11 AS build-release-stage
WORKDIR /
COPY --from=build-stage /network-test /network-test
COPY --from=build-stage /app/ui/ /ui/
Expand Down

0 comments on commit 0772162

Please sign in to comment.