This is an automated email from the ASF dual-hosted git repository.

jgemignani pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/age.git


The following commit(s) were added to refs/heads/master by this push:
     new 20fcc1df Update CIs to pull correct image based on branch (#1105)
20fcc1df is described below

commit 20fcc1dfe28506c9db83d10e775e74354e006098
Author: Muhammad Taha Naveed <[email protected]>
AuthorDate: Wed Jul 26 07:42:49 2023 +0500

    Update CIs to pull correct image based on branch (#1105)
    
    - This commit/PR also serves as a test commit/PR for the newest
      image build of apache/age:latest
---
 .github/workflows/jdbc-driver.yaml | 4 ++--
 drivers/docker-compose.yml         | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/jdbc-driver.yaml 
b/.github/workflows/jdbc-driver.yaml
index 090c5550..9be72f8c 100644
--- a/.github/workflows/jdbc-driver.yaml
+++ b/.github/workflows/jdbc-driver.yaml
@@ -27,13 +27,13 @@ jobs:
       run: |
         if [[ "$GITHUB_EVENT_NAME" == "push" ]]; then
           if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then
-            echo "TAG=PG14_latest" >> $GITHUB_ENV
+            echo "TAG=latest" >> $GITHUB_ENV
           elif [[ "$GITHUB_REF" == "refs/heads/PG14" ]]; then
             echo "TAG=PG14_latest" >> $GITHUB_ENV
           fi
         elif [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
           if [[ "$GITHUB_BASE_REF" == "master" ]]; then
-            echo "TAG=PG14_latest" >> $GITHUB_ENV
+            echo "TAG=latest" >> $GITHUB_ENV
           elif [[ "$GITHUB_BASE_REF" == "PG14" ]]; then
             echo "TAG=PG14_latest" >> $GITHUB_ENV
           fi
diff --git a/drivers/docker-compose.yml b/drivers/docker-compose.yml
index 095d7256..45ab86a3 100644
--- a/drivers/docker-compose.yml
+++ b/drivers/docker-compose.yml
@@ -1,7 +1,7 @@
 version: "3.3"
 services:
   db:
-    image: apache/age:PG14_latest
+    image: apache/age:${TAG}
     environment:
       - POSTGRES_USER=postgres
       - POSTGRES_PASSWORD=agens

Reply via email to