Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit c66d71a

Browse files
committed
Fix CWD for building docker images
1 parent bd89c66 commit c66d71a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
uses: actions/checkout@v1
1414

1515
- name: Build and Publish Query Checking Docker Image
16-
run: ./check-queries/publish.sh
16+
run: cd check-queries && ./publish.sh
1717
env:
1818
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1919
publish-courses-cpp-ctf-segv:
@@ -24,6 +24,6 @@ jobs:
2424
uses: actions/checkout@v1
2525

2626
- name: Build and Publish Course Docker Image
27-
run: ./courses/cpp/ctf-segv/image/publish.sh
27+
run: cd courses/cpp/ctf-segv/image && ./publish.sh
2828
env:
2929
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

check-queries/publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if docker pull $IMAGE_TAG; then
1313
else
1414
echo "image has not yet been published. building and publishing..."
1515

16-
docker build -t $IMAGE_TAG check-queries
16+
docker build -t $IMAGE_TAG .
1717

1818
docker push $IMAGE_TAG
1919
fi

0 commit comments

Comments
 (0)