Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and push to Docker Hub
name: Build and push edge debug tag

on:
push:
Expand Down Expand Up @@ -28,14 +28,6 @@ jobs:
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: parseable/parseable

- name: Build and push
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/parseable:edge

- name: Build and push
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/build-push-edge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build and push edge tag

on:
push:
branches:
- 'main'
paths-ignore:
- 'docs/**'
- 'helm/**'
- 'assets/**'
- '**.md'

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Login to Docker Hub
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: parseable/parseable

- name: Build and push
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/parseable:edge
4 changes: 2 additions & 2 deletions Dockerfile.debug
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ COPY . .
RUN cargo build --features debug

# final stage
FROM gcr.io/distroless/cc-debian11:debug-nonroot
FROM docker.io/debian:bullseye-slim

WORKDIR /parseable

COPY --from=builder /parseable/debug/parseable /usr/bin/parseable
COPY --from=builder /parseable/target/debug/parseable /usr/bin/parseable

CMD ["parseable"]