Skip to content

Bump github.com/hashicorp/consul/api from 1.18.0 to 1.33.4 #278

Bump github.com/hashicorp/consul/api from 1.18.0 to 1.33.4

Bump github.com/hashicorp/consul/api from 1.18.0 to 1.33.4 #278

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
pull_request:
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
with:
version: v0.9.1
- uses: docker/login-action@v3
if: github.event_name != 'pull_request'
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: actions/checkout@v6
- id: get-latest-tag
if: github.event_name != 'pull_request'
uses: "WyriHaximus/github-action-get-previous-tag@v2"
- name: Build and push Postgres 15
id: docker_build_15
uses: docker/build-push-action@v6
with:
build-args: |
PG_VERSION=15.10
PG_MAJOR_VERSION=15
VERSION=${{ steps.get-latest-tag.outputs.tag || 'pr-build' }}
context: .
file: ./pg15/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: |
flyio/postgres-flex:15
flyio/postgres-flex:15.10
- name: Build and push Postgres 15 Timescale DB
id: docker_build_15_timescaledb
uses: docker/build-push-action@v6
with:
build-args: |
PG_VERSION=15.10
PG_MAJOR_VERSION=15
VERSION=${{ steps.get-latest-tag.outputs.tag || 'pr-build' }}
context: .
file: ./pg15/Dockerfile-timescaledb
push: ${{ github.event_name != 'pull_request' }}
tags: |
flyio/postgres-flex-timescaledb:15
flyio/postgres-flex-timescaledb:15.10
- name: Build and push Postgres 16
id: docker_build_16
uses: docker/build-push-action@v6
with:
build-args: |
PG_VERSION=16.6
PG_MAJOR_VERSION=16
VERSION=${{ steps.get-latest-tag.outputs.tag || 'pr-build' }}
context: .
file: ./pg16/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: |
flyio/postgres-flex:16
flyio/postgres-flex:16.6
- name: Build and push Postgres 16 Timescale DB
id: docker_build_16_timescaledb
uses: docker/build-push-action@v6
with:
build-args: |
PG_VERSION=16.6
PG_MAJOR_VERSION=16
VERSION=${{ steps.get-latest-tag.outputs.tag || 'pr-build' }}
context: .
file: ./pg16/Dockerfile-timescaledb
push: ${{ github.event_name != 'pull_request' }}
tags: |
flyio/postgres-flex-timescaledb:16
flyio/postgres-flex-timescaledb:16.6
- name: Build and push Postgres 17
id: docker_build_17
uses: docker/build-push-action@v6
with:
build-args: |
PG_VERSION=17.2
PG_MAJOR_VERSION=17
VERSION=${{ steps.get-latest-tag.outputs.tag || 'pr-build' }}
context: .
file: ./pg17/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: |
flyio/postgres-flex:17
flyio/postgres-flex:17.2
- name: Build and push Postgres 17 Timescale DB
id: docker_build_17_timescaledb
uses: docker/build-push-action@v6
with:
build-args: |
PG_VERSION=17.2
PG_MAJOR_VERSION=17
VERSION=${{ steps.get-latest-tag.outputs.tag || 'pr-build' }}
context: .
file: ./pg17/Dockerfile-timescaledb
push: ${{ github.event_name != 'pull_request' }}
tags: |
flyio/postgres-flex-timescaledb:17
flyio/postgres-flex-timescaledb:17.2
- name: Postgres 15 Image digest
run: echo ${{ steps.docker_build_15.outputs.digest }}
- name: Postgres 15 TimescaleDB Image digest
run: echo ${{ steps.docker_build_15_timescaledb.outputs.digest }}
- name: Postgres 16 Image digest
run: echo ${{ steps.docker_build_16.outputs.digest }}
- name: Postgres 16 TimescaleDB Image digest
run: echo ${{ steps.docker_build_16_timescaledb.outputs.digest }}
- name: Postgres 17 Image digest
run: echo ${{ steps.docker_build_17.outputs.digest }}
- name: Postgres 17 TimescaleDB Image digest
run: echo ${{ steps.docker_build_17_timescaledb.outputs.digest }}