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
2
2
3
3
on :
4
4
push :
28
28
uses : docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
29
29
with :
30
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
39
31
40
32
- name : Build and push
41
33
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 . .
26
26
RUN cargo build --features debug
27
27
28
28
# final stage
29
- FROM gcr .io/distroless/cc-debian11:debug-nonroot
29
+ FROM docker .io/debian:bullseye-slim
30
30
31
31
WORKDIR /parseable
32
32
33
- COPY --from=builder /parseable/debug/parseable /usr/bin/parseable
33
+ COPY --from=builder /parseable/target/ debug/parseable /usr/bin/parseable
34
34
35
35
CMD ["parseable"]
You can’t perform that action at this time.
0 commit comments