Skip to content

Commit 747f23f

Browse files
committed
fixing cache problem
1 parent 5f91e70 commit 747f23f

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/run-extraction.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121

2222
- name: Build Podman Image
2323
run: |
24-
podman build -t graph_analysis -f docker/Dockerfile .
24+
podman build \
25+
--build-arg CACHE_BUST=$(git rev-parse HEAD) \
26+
-t graph-analysis -f docker/Dockerfile .
2527
2628
- name: Prepare Host Directories
2729
run: |

docker/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ COPY Main.py fetch_texts.py retweet.py ids_user.py config.py ./
2424

2525
VOLUME ["/app/resources", "/app/outputs", "/app/logs", "/app/properties"]
2626
ENTRYPOINT ["python", "Main.py"]
27-
CMD ["--properties", "/app/properties/prop.json"]
27+
ARG CACHE_BUST
28+
RUN echo "Cache bust: $CACHE_BUST"

0 commit comments

Comments
 (0)