diff --git a/.github/workflows/go-driver.yml b/.github/workflows/go-driver.yml index 10b1abaa6..5143ae71b 100644 --- a/.github/workflows/go-driver.yml +++ b/.github/workflows/go-driver.yml @@ -21,25 +21,9 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set tag based on branch - run: | - if [[ "$GITHUB_EVENT_NAME" == "push" ]]; then - if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then - echo "TAG=latest" >> $GITHUB_ENV - elif [[ "$GITHUB_REF" == "refs/heads/PG16" ]]; then - echo "TAG=PG16_latest" >> $GITHUB_ENV - fi - elif [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then - if [[ "$GITHUB_BASE_REF" == "master" ]]; then - echo "TAG=latest" >> $GITHUB_ENV - elif [[ "$GITHUB_BASE_REF" == "PG16" ]]; then - echo "TAG=PG16_latest" >> $GITHUB_ENV - fi - fi - - name: Run apache/age docker image run: | - export TAG=$TAG + export TAG=latest docker-compose up -d - name: Set up Go diff --git a/.github/workflows/jdbc-driver.yaml b/.github/workflows/jdbc-driver.yaml index 81d2558ae..71139ee1c 100644 --- a/.github/workflows/jdbc-driver.yaml +++ b/.github/workflows/jdbc-driver.yaml @@ -23,23 +23,7 @@ jobs: distribution: 'zulu' java-version: '17' - - name: Set tag based on branch - run: | - if [[ "$GITHUB_EVENT_NAME" == "push" ]]; then - if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then - echo "TAG=latest" >> $GITHUB_ENV - elif [[ "$GITHUB_REF" == "refs/heads/PG16" ]]; then - echo "TAG=PG16_latest" >> $GITHUB_ENV - fi - elif [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then - if [[ "$GITHUB_BASE_REF" == "master" ]]; then - echo "TAG=latest" >> $GITHUB_ENV - elif [[ "$GITHUB_BASE_REF" == "PG16" ]]; then - echo "TAG=PG16_latest" >> $GITHUB_ENV - fi - fi - - name: Build and Test run: | - export TAG=$TAG + export TAG=latest gradle build diff --git a/.github/workflows/nodejs-driver.yaml b/.github/workflows/nodejs-driver.yaml index bc926e6fd..057f88e30 100644 --- a/.github/workflows/nodejs-driver.yaml +++ b/.github/workflows/nodejs-driver.yaml @@ -18,25 +18,9 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set tag based on branch - run: | - if [[ "$GITHUB_EVENT_NAME" == "push" ]]; then - if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then - echo "TAG=latest" >> $GITHUB_ENV - elif [[ "$GITHUB_REF" == "refs/heads/PG16" ]]; then - echo "TAG=PG16_latest" >> $GITHUB_ENV - fi - elif [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then - if [[ "$GITHUB_BASE_REF" == "master" ]]; then - echo "TAG=latest" >> $GITHUB_ENV - elif [[ "$GITHUB_BASE_REF" == "PG16" ]]; then - echo "TAG=PG16_latest" >> $GITHUB_ENV - fi - fi - - name: Run apache/age docker image run: | - export TAG=$TAG + export TAG=latest docker-compose up -d - name: Set up Node diff --git a/.github/workflows/python-driver.yaml b/.github/workflows/python-driver.yaml index 3e7f8ee54..a26158214 100644 --- a/.github/workflows/python-driver.yaml +++ b/.github/workflows/python-driver.yaml @@ -18,25 +18,9 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set tag based on branch - run: | - if [[ "$GITHUB_EVENT_NAME" == "push" ]]; then - if [[ "$GITHUB_REF" == "refs/heads/master" ]]; then - echo "TAG=latest" >> $GITHUB_ENV - elif [[ "$GITHUB_REF" == "refs/heads/PG16" ]]; then - echo "TAG=PG16_latest" >> $GITHUB_ENV - fi - elif [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then - if [[ "$GITHUB_BASE_REF" == "master" ]]; then - echo "TAG=latest" >> $GITHUB_ENV - elif [[ "$GITHUB_BASE_REF" == "PG16" ]]; then - echo "TAG=PG16_latest" >> $GITHUB_ENV - fi - fi - - name: Run apache/age docker image run: | - export TAG=$TAG + export TAG=latest docker-compose up -d - name: Set up python