Add push trigger to weekly Docker build workflow
Remove redundant COPY command from Dockerfile
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
name: Weekly Docker Build
|
||||
|
||||
on:
|
||||
push:
|
||||
schedule:
|
||||
- cron: '0 0 * * 0' # 00:00 sáng Chủ nhật hằng tuần (UTC)
|
||||
workflow_dispatch: # Cho phép chạy tay nếu cần
|
||||
|
||||
@@ -2,6 +2,4 @@ FROM alpine:latest
|
||||
|
||||
RUN apk add --no-cache privoxy
|
||||
|
||||
COPY config /etc/privoxy/config
|
||||
|
||||
CMD ["privoxy", "--no-daemon", "/etc/privoxy/config"]
|
||||
Reference in New Issue
Block a user