Skip to content

Commit

Permalink
Docker's upset so do the build outside of it
Browse files Browse the repository at this point in the history
  • Loading branch information
rcrowley committed Jul 15, 2024
1 parent 3e812bd commit 92f265d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Build mysqld_exporter
run: make build

- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
Expand Down Expand Up @@ -50,4 +53,4 @@ jobs:
with:
push-to-registry: true
subject-digest: ${{ steps.push.outputs.digest }}
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ ARG OS="linux"
FROM quay.io/prometheus/busybox-${OS}-${ARCH}:latest
LABEL maintainer="The Prometheus Authors <[email protected]>"

ARG ARCH="amd64"
ARG OS="linux"
RUN make build
COPY ./mysqld_exporter /bin/mysqld_exporter

EXPOSE 9104
Expand Down

0 comments on commit 92f265d

Please sign in to comment.