feat(workflows/e2e): run at 2AM every day, use dev image (#3072)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index 4ccef7f..c567878 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -8,6 +8,11 @@
types: [labeled, synchronize]
branches:
- "**"
+ schedule:
+ # Run at 2:00 AM UTC every day
+ # This should be later than the update time of `apache/apisix:dev`
+ # Ref: https://github.com/apache/apisix-docker/blob/master/.github/workflows/apisix_dev_push_docker_hub.yaml#L7C15-L7C16
+ - cron: '0 2 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
diff --git a/e2e/server/docker-compose.common.yml b/e2e/server/docker-compose.common.yml
index d165416..7296533 100644
--- a/e2e/server/docker-compose.common.yml
+++ b/e2e/server/docker-compose.common.yml
@@ -17,7 +17,7 @@
services:
apisix:
- image: 'apache/apisix:3.12.0-debian'
+ image: 'apache/apisix:dev'
restart: always
volumes:
- ./apisix_conf.yml:/usr/local/apisix/conf/config.yaml:ro