File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed
Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Push Docker Images
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ paths-ignore :
7+ - ' README.md'
8+
9+ jobs :
10+ docker :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v4
15+ - name : Set up QEMU
16+ uses : docker/setup-qemu-action@v3
17+ - name : Set up Docker Buildx
18+ uses : docker/setup-buildx-action@v3
19+ - name : Login to Docker Hub
20+ uses : docker/login-action@v3
21+ with :
22+ username : ${{ secrets.DOCKERHUB_USERNAME }}
23+ password : ${{ secrets.DOCKERHUB_TOKEN }}
24+ - name : Build and push
25+ uses : docker/build-push-action@v5
26+ with :
27+ platforms : linux/amd64,linux/arm64
28+ push : true
29+ tags : dreadnode/robopages:latest
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ ADD . /app
77RUN cargo build --release
88
99FROM debian:bullseye
10- RUN apt-get update && apt-get install -y libssl-dev ca-certificates
10+
11+ RUN apt-get update && apt-get install -y libssl-dev curl ca-certificates
12+ RUN curl -fsSL https://get.docker.com | sh
13+
1114COPY --from=builder /app/target/release/robopages /usr/bin/robopages
15+
1216ENTRYPOINT ["/usr/bin/robopages" ]
You can’t perform that action at this time.
0 commit comments