Skip to content

Commit

Permalink
Moved Dockerfile.linux under container subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
masesdevelopers committed Nov 9, 2023
1 parent 0f96981 commit 4aab82c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
echo "run_build_windows=true" >> $GITHUB_OUTPUT
break
fi
if [[ $added_modified_file == "Dockerfile.linux"* ]]; then
if [[ $added_modified_file == "src/container/Dockerfile.linux"* ]]; then
echo "$added_modified_file file changed"
echo "run_build_windows=true" >> $GITHUB_OUTPUT
break
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

- name: Build Docker Image
run: docker build -t mases.jnet -f Dockerfile.linux .
run: docker build -t mases.jnet -f .src/container/Dockerfile.linux .

- name: Save Docker Image
run: docker image save -o mases.jnet.linux.tar mases.jnet
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
echo "run_build_windows=true" >> $GITHUB_OUTPUT
break
fi
if [[ $added_modified_file == "Dockerfile.linux"* ]]; then
if [[ $added_modified_file == "src/container/Dockerfile.linux"* ]]; then
echo "$added_modified_file file changed"
echo "run_build_windows=true" >> $GITHUB_OUTPUT
break
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

- name: Build Docker Image
run: docker build -t mases.jnet -f Dockerfile.linux .
run: docker build -t mases.jnet -f ./src/container/Dockerfile.linux .

# This workflow contains a single job called "build_release"
build_pullrequest:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
file: Dockerfile.linux
file: ./src/container/Dockerfile.linux
context: .
platforms: linux/amd64,linux/arm64
push: true
Expand Down
File renamed without changes.

0 comments on commit 4aab82c

Please sign in to comment.