Skip to content

Commit

Permalink
fix: removed src/ from path of dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcos Freitas committed Nov 5, 2020
1 parent c82f51e commit c542f45
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

# Run tests for any PRs.
pull_request:

# manually run a workflow
workflow_dispatch:

Expand All @@ -35,7 +35,7 @@ jobs:
docker-compose --file docker-compose.test.yml build
docker-compose --file docker-compose.test.yml run sut
else
docker build . --no-cache --file src/nginx/Dockerfile
docker build . --no-cache --file nginx/Dockerfile
fi
# Push image to GitHub Packages.
# See also https://docs.docker.com/docker-hub/builds/
Expand All @@ -50,7 +50,7 @@ jobs:
- uses: actions/checkout@v2

- name: Build image
run: docker build . --no-cache --file src/nginx/Dockerfile --tag $IMAGE_NAME
run: docker build . --no-cache --file nginx/Dockerfile --tag $IMAGE_NAME

- name: Log into GitHub Container Registry
# TODO: Create a PAT with `read:packages` and `write:packages` scopes and save it as an Actions secret `CR_PAT`
Expand Down

0 comments on commit c542f45

Please sign in to comment.