File tree Expand file tree Collapse file tree 2 files changed +4
-19
lines changed Expand file tree Collapse file tree 2 files changed +4
-19
lines changed Original file line number Diff line number Diff line change 11
11
12
12
jobs :
13
13
14
- build :
15
-
16
- runs-on : ubuntu-latest
17
-
18
- steps :
19
- - uses : actions/checkout@v3
20
- - name : Build the Docker image
21
- run : docker-compose build --no-cache --force-rm
22
- test :
23
- runs-on : ubuntu-latest
24
- steps :
25
- - uses : actions/checkout@v2
26
- - name : Test the Docker image
27
- run : docker-compose up -d
28
14
push_to_registry :
29
15
name : Push Docker image to Docker Hub
30
16
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ FROM rust:1.75.0 AS build-env
3
3
ARG BUILD_DATE
4
4
ARG VCS_REF
5
5
LABEL maintainer=
"Laurent <[email protected] >" \
6
- org.opencontainers.image.title="NavData Backend " \
7
- org.opencontainers.image.description="Endpoint to get information about airports or navaids" \
6
+ org.opencontainers.image.title="NavData REST API " \
7
+ org.opencontainers.image.description="REST API to get information about airports or navaids" \
8
8
org.opencontainers.image.authors=
"Laurent <[email protected] >" \
9
9
org.opencontainers.image.vendor="Laurent Vromman" \
10
10
org.opencontainers.image.documentation="https://github.com/leirn/navdata/README.md" \
@@ -49,6 +49,5 @@ ENV RUST_BACKTRACE=${RUST_BACKTRACE}
49
49
50
50
EXPOSE 8080
51
51
52
- COPY --from=build-env /app/target/release/api_backend /
53
- COPY resources/default.jpg /
54
- CMD ["./navdata" ]
52
+ COPY --from=build-env /app/target/release/nav_data /
53
+ CMD ["./nav_data" ]
You can’t perform that action at this time.
0 commit comments