Skip to content

Commit

Permalink
Docker work (#1)
Browse files Browse the repository at this point in the history
* Change dockerfile location

* Formatting

* Only build on main
  • Loading branch information
AngelOnFira authored Sep 15, 2021
1 parent 95853f6 commit 2c43c86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Build Docker image

on:
push:
# branches:
# - 'master'
branches:
- 'main'

jobs:
docker:
Expand All @@ -25,6 +25,5 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
file: docker/Dockerfile.prod
push: true
tags: ghcr.io/carletoncomputersciencesociety/friendzoner/friendzoner-rust:latest
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ FROM debian:buster-slim

COPY --from=builder /app/target/release/friend-zoner /app/friend-zoner

ENTRYPOINT ["/app/friend-zoner"]
ENTRYPOINT ["/app/friend-zoner"]

0 comments on commit 2c43c86

Please sign in to comment.