File tree Expand file tree Collapse file tree 3 files changed +41
-11
lines changed Expand file tree Collapse file tree 3 files changed +41
-11
lines changed Original file line number Diff line number Diff line change 1- name : Build and push to Docker Hub
1+ name : Build and push edge debug tag
22
33on :
44 push :
2828 uses : docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
2929 with :
3030 images : parseable/parseable
31-
32- - name : Build and push
33- uses : docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
34- with :
35- context : .
36- file : ./Dockerfile
37- push : true
38- tags : ${{ secrets.DOCKERHUB_USERNAME }}/parseable:edge
3931
4032 - name : Build and push
4133 uses : docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
Original file line number Diff line number Diff line change 1+ name : Build and push edge tag
2+
3+ on :
4+ push :
5+ branches :
6+ - ' main'
7+ paths-ignore :
8+ - ' docs/**'
9+ - ' helm/**'
10+ - ' assets/**'
11+ - ' **.md'
12+
13+ jobs :
14+ docker :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v3
19+
20+ - name : Login to Docker Hub
21+ uses : docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
22+ with :
23+ username : ${{ secrets.DOCKERHUB_USERNAME }}
24+ password : ${{ secrets.DOCKERHUB_TOKEN }}
25+
26+ - name : Extract metadata (tags, labels) for Docker
27+ id : meta
28+ uses : docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
29+ with :
30+ images : parseable/parseable
31+
32+ - name : Build and push
33+ uses : docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
34+ with :
35+ context : .
36+ file : ./Dockerfile
37+ push : true
38+ tags : ${{ secrets.DOCKERHUB_USERNAME }}/parseable:edge
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ COPY . .
2626RUN cargo build --features debug
2727
2828# final stage
29- FROM gcr .io/distroless/cc-debian11:debug-nonroot
29+ FROM docker .io/debian:bullseye-slim
3030
3131WORKDIR /parseable
3232
33- COPY --from=builder /parseable/debug/parseable /usr/bin/parseable
33+ COPY --from=builder /parseable/target/ debug/parseable /usr/bin/parseable
3434
3535CMD ["parseable"]
You can’t perform that action at this time.
0 commit comments