Skip to content

Commit

Permalink
ci: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
magonxesp committed Sep 20, 2024
1 parent 023d476 commit 1a32f74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand All @@ -18,6 +20,7 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v6
with:
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ WORKDIR /app

COPY --from=build /build/build/libs/cloudflare-ddns-all.jar /app/cloudflare-ddns.jar

CMD ["java", "-jar", "/app/cloudflare-ddns.jar", "--keep-syncing"]
ENTRYPOINT ["java", "-jar", "/app/cloudflare-ddns.jar"]
CMD ["--keep-syncing"]

0 comments on commit 1a32f74

Please sign in to comment.