Skip to content

Commit

Permalink
fix: specify docker build context
Browse files Browse the repository at this point in the history
  • Loading branch information
sunng87 committed Dec 18, 2024
1 parent 6c02b5d commit e0825e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
uses: docker/build-push-action@v5
if: startsWith(github.ref, 'refs/tags/')
with:
context: .
file: docker/Dockerfile
push: true
platforms: linux/amd64
Expand Down
3 changes: 3 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ FROM docker.io/grafana/grafana:11.2.5

COPY info8fcc-greptimedb-datasource.zip .
RUN unzip info8fcc-greptimedb-datasource.zip -d /var/lib/grafana/plugins/

USER root
RUN rm info8fcc-greptimedb-datasource.zip

0 comments on commit e0825e4

Please sign in to comment.