From 3ada18ed6bc2d106ea54a5ccf8561f846d801265 Mon Sep 17 00:00:00 2001 From: "G. Allegri" Date: Mon, 9 Oct 2023 16:46:33 +0200 Subject: [PATCH] update workflow --- .github/workflows/release.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9f38da2..40c3afa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,3 +25,23 @@ jobs: push: false username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + postgis: + if: ${{ contains(github.ref, 'postgis_') }} + runs-on: ubuntu-latest + steps: + - uses: winterjung/split@v2 + id: split + with: + separator: "_" + msg: ${{ github.ref }} + - uses: actions/checkout@v2 + with: + ref: ${{ github.ref }} + - uses: ./.github/actions/build_and_push + with: + image: "postgis" + branch: ${{ github.ref }} + tag: ${{ steps.split.outputs._1 }} + push: false + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }}