Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
fix: Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sysatom committed May 28, 2021
1 parent 35fb642 commit ddec622
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 13 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Debug info
run: ls -all ./dist

- name: Build and push cron
uses: docker/build-push-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion build/cron/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ FROM alpine:latest

RUN apk update && apk add bash

COPY ./dist/cron-linux-amd64 app
COPY ./dist/cron_linux_amd64/cron app
CMD ["./app"]
2 changes: 1 addition & 1 deletion build/message/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ FROM alpine:latest

RUN apk update && apk add bash

COPY ./dist/message-linux-amd64/message app
COPY ./dist/message_linux_amd64/message app
CMD ["./app"]
2 changes: 1 addition & 1 deletion build/middle/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ FROM alpine:latest

RUN apk update && apk add bash

COPY ./dist/middle-linux-amd64/middle app
COPY ./dist/middle_linux_amd64/middle app
CMD ["./app"]
2 changes: 1 addition & 1 deletion build/spider/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ FROM alpine:latest

RUN apk update && apk add bash

COPY ./dist/spider-linux-amd64/spider app
COPY ./dist/spider_linux_amd64/spider app
CMD ["./app"]
2 changes: 1 addition & 1 deletion build/storage/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ FROM alpine:latest

RUN apk update && apk add bash

COPY ./dist/storage-linux-amd64/storage app
COPY ./dist/storage_linux_amd64/storage app
CMD ["./app"]
2 changes: 1 addition & 1 deletion build/subscribe/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ FROM alpine:latest

RUN apk update && apk add bash

COPY ./dist/subscribe-linux-amd64/subscribe app
COPY ./dist/subscribe_linux_amd64/subscribe app
CMD ["./app"]
2 changes: 1 addition & 1 deletion build/task/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ FROM alpine:latest

RUN apk update && apk add bash

COPY ./dist/task-linux-amd64/task app
COPY ./dist/task_linux_amd64/task app
CMD ["./app"]
2 changes: 1 addition & 1 deletion build/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ FROM alpine:latest

RUN apk update && apk add bash

COPY ./dist/web-linux-amd64/web app
COPY ./dist/web_linux_amd64/web app
CMD ["./app"]
2 changes: 1 addition & 1 deletion build/worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ FROM alpine:latest

RUN apk update && apk add bash

COPY ./dist/worker-linux-amd64/worker app
COPY ./dist/worker_linux_amd64/worker app
CMD ["./app"]
2 changes: 1 addition & 1 deletion build/workflow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ FROM alpine:latest

RUN apk update && apk add bash

COPY ./dist/workflow-linux-amd64/workflow app
COPY ./dist/workflow_linux_amd64/workflow app
CMD ["./app"]

0 comments on commit ddec622

Please sign in to comment.